User Tools

Site Tools


syntax:functions:addyears
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Next revision
syntax:functions:addyears [2019/12/12 07:43] – created dmitry
Line 1: Line 1:
 +=====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:addmonths|AddMonths(date_as_number, N)]]
syntax/functions/addyears.txt · Last modified: 2021/08/30 01:54 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki