syntax:functions:addyears
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revisionNext revision | |||
— | syntax:functions:addyears [2021/08/29 18:38] – craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== AddYears(date, | ||
+ | Category: | ||
+ | |||
+ | \\ | ||
+ | =====Description===== | ||
+ | This function adds // | ||
+ | |||
+ | \\ | ||
+ | =====Arguments===== | ||
+ | ^Argument^Type^Description^ | ||
+ | |date|Date or Number (date serial)|A expression representing a date. See " | ||
+ | |add_years |Number |The number of years to be added to //date//, or subtracted if negative.| | ||
+ | |||
+ | **Return value type:** Number (date serial value). | ||
+ | |||
+ | \\ | ||
+ | =====Remarks===== | ||
+ | The //date// argument can take any value or expression that evaluates to a date serial value, with or without a time portion. | ||
+ | * A date string: | ||
+ | * A date serial value: 43811 (the date serial for " | ||
+ | * A date value created using the [[syntax: | ||
+ | |||
+ | |||
+ | \\ | ||
+ | =====Examples===== | ||
+ | |||
+ | addyears(# | ||
+ | |||
+ | addyears(43811, | ||
+ | |||
+ | addyears(# | ||
+ | |||
+ | |||
+ | \\ | ||
+ | ===== See also ===== | ||
+ | * [[syntax: | ||
+ | * [[syntax: | ||
+ | * [[https:// | ||
syntax/functions/addyears.txt · Last modified: 2021/08/30 01:54 by craigt