class DateTime

def beginning_of_day

Returns a new DateTime representing the start of the day (0:00).
def beginning_of_day
  change(hour: 0)
end