User Tools

Site Tools


syntax:functions:addmonths

This is an old revision of the document!


AddMonths(date_as_number, N)

Adds N months to a date represented as number. N can be in range from -10000 to 10000.

Example Result Notes
addmonths(42097, 3) 42188 42097 corrensponds to April 4th, 2015
addmonths(42097, 0-3) 42007 42097 corrensponds to April 4th, 2015

Note: keep in mind that EasyMorph doesn't support unary minus in expressions - see Example 2 above.

See also:

* AddYears(number_date, number)

syntax/functions/addmonths.1576154634.txt.gz · Last modified: 2019/12/12 07:43 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki