method
beginning_of_quarter
v4.2.1 -
Show latest stable
- Class:
DateAndTime::Calculations
beginning_of_quarter()public
Returns a new date/time at the start of the quarter. Example: 1st January, 1st July, 1st October. DateTime objects will have a time set to 0:00.