Skip to content

AddMonth

Adds calendar months and adjusts the result to the next time included by this calendar.

myCalendar.AddMonth(dateTime: DateTimeOffset, months: number):DateTimeOffset (DateTimeOffset)

Parameters

DateTimeOffset dateTime
    The base date and time.

number months
    The number of months to add.

Returns

The adjusted date and time.

Remarks

Server workflow scripts only. This is a compatibility alias for AddMonths().

See Also