method

beginning_of_day

v8.1.1 - Show latest stable - Class: Date
beginning_of_day()
public

Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00)