= private = protected
seconds_since_midnight()
Seconds since midnight: Time.now.seconds_since_midnight
# File activesupport/lib/active_support/core_ext/time/calculations.rb, line 27 def seconds_since_midnight self.to_i - self.change(:hour => 0).to_i + (self.usec/1.0e+6) end