AddMonths method

Official Content
This documentation is valid for:

Adds a given number of months to a given date.


date-expression | datetime-expression.AddMonths(numeric-expression)

Type returned
   Date | Datetime

date-expression | datetime-expression
   Given date or datetime.

   The number of months added to the date-expression | datetime-expression.


Returns a value which results from adding numeric-expression months to date-expression or datetime-expression. When the type assigned is date it returns a date value and when the type assigned is datetime it returns a datetime.

If the numeric expression is negative, the months are subtracted from the given date.


&ExpiryDate = &CheckDate.AddMonths(&LegalDays)


Objects  Procedure object, Transaction object, Web Panel object, Work Panel object

See also

AddMth function
AddYears method
Add days syntax

Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.