Method: Date#since

Defined in:
lib/active_support/core_ext/date/calculations.rb

#since(seconds) ⇒ Object Also known as: in

Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00) and then adds the specified number of seconds



61
62
63
# File 'lib/active_support/core_ext/date/calculations.rb', line 61

def since(seconds)
  in_time_zone.since(seconds)
end