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.
syntax/functions/addmonths.1428108525.txt.gz · Last modified: 2015/04/03 20:48 by elenap