add_years
Description:
Increments a date by some number of years.
If the date is February 29, and the destination year is not a leap year, the date will be changed to February 28. The date must be valid.
Parameters:
this |
a Date to increment |
n_years |
number of years to move forward |