Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

DateTimeOffset Calendar myCalendar.AddMonths(datedateTime: DateTimeOffset, months: number)

Arguments

Specifies the base date time value.
number months
Specifies the how many months will be added to dateTime parameter.

...

Code Block
languagejs
var newDate = $Calendar.AddMonths($Calendar.Today, 2); //adds 2 months to the current date and returns DateTimeOffset object.

Examples

...

languagejs

...

See Also