method
years_ago
v2.2.1 -
Show latest stable
- Class:
ActiveSupport::CoreExtensions::Date::Calculations
years_ago(years)public
Returns a new Date/DateTime representing the time a number of specified years ago
years_ago(years)Returns a new Date/DateTime representing the time a number of specified years ago