class DateTime

def beginning_of_hour

Returns a new DateTime representing the start of the hour (hh:00:00).
def beginning_of_hour
  change(:min => 0)
end