AddYear¶
Adds calendar years and adjusts the result to the next time included by this calendar.
1 | |
Parameters¶
DateTimeOffset dateTime
The base date and time.
number years
The number of years to add.
Returns¶
The adjusted date and time.
Remarks¶
Server workflow scripts only. This is a compatibility alias for AddYears().