# File lib/active_support/core_ext/date_time/calculations.rb, line 27 def seconds_since_midnight sec + (min * 60) + (hour * 3600) end