class DateTime

def beginning_of_minute

Returns a new DateTime representing the start of the minute (hh:mm:00).
def beginning_of_minute
  change(:sec => 0)
end