AddMonths()

DateTimeOffset::AddMonths(int) const method

Adds a specified number of months to the DateTimeOffset object.

DateTimeOffset System::DateTimeOffset::AddMonths(int months) const

Arguments

ParameterTypeDescription
monthsintPositive or negative number of months.

Return Value

Result of operation.

See Also