Overview
Adds specified number of months to specified date time value and returns.DateTimeOffset myCalendar.AddMonths(dateTime: DateTimeOffset, months: number)
Arguments
DateTimeOffset dateTime
Specifies the base date time value.
number months
Specifies the how many months will be added to dateTime parameter.
Example
var newDate = $Calendar.AddMonths($Calendar.Today, 2); //adds 2 months to the current date and returns DateTimeOffset object.