Function DateAddYears
Adds a specific number of years to a date
DateAddYears([DATE],[YEARS])
Parameters
# | Type | Passing | Default | Name | Description/Comments |
---|---|---|---|---|---|
1 | datetime | required | n/a | DATE | The date to adjust |
2 | integer | required | n/a | YEARS | The number of years, positive or negative |
Returns
A date adjusted by the number of years
Examples
Example for adjusting the date
{{DateAddYears(ALIAS.STARTDATE,1)}}