method
years_since
v3.2.1 -
Show latest stable
- Class:
Date
years_since(years)public
Returns a new Date/DateTime representing the time a number of specified years in the future.
years_since(years)Returns a new Date/DateTime representing the time a number of specified years in the future.