class DateTime

def seconds_since_midnight

Seconds since midnight: DateTime.now.seconds_since_midnight.
def seconds_since_midnight
  sec + (min * 60) + (hour * 3600)
end