method

ago

Importance_1
v2.0.3 - Show latest stable - 0 notes - Class: ActiveSupport::CoreExtensions::Date::Calculations
ago(seconds) public

Converts <a href="/rails/Date">Date</a> to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00) and then subtracts the specified number of seconds

Show source
Register or log in to add new notes.