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