beginning_of_day()
public
Returns a new Time representing the start of the
day (0:00)
# File activesupport/lib/active_support/core_ext/time/calculations.rb, line 161
def beginning_of_day
#(self - seconds_since_midnight).change(usec: 0)
change(:hour => 0)
end