syntax:functions:addyears
This is an old revision of the document!
AddYears(number_date, number)
Adds years to the date. Subtracts if the number is negative.
Example:
Expression | Result | Notes |
---|---|---|
addyears(#2019-12-12, 1) | 44177 | Equivalent to 2020-Dec-12 |
addyears(#2019-12-12, 0-1) | 43446 | Equivalent to 2018-Dec-12 |
See also:
syntax/functions/addyears.1576154589.txt.gz · Last modified: 2019/12/12 07:43 by dmitry