beginning_of_day()
public
Converts <a href="/rails/Date">Date</a> to a Time (or DateTime if
necessary) with the time portion set to the beginning of the day (0:00)
# File activesupport/lib/active_support/core_ext/date/calculations.rb, line 42
def beginning_of_day
to_time
end