method
beginning_of_week
v3.1.0 -
Show latest stable
- Class:
Date
beginning_of_week()public
Returns a new Date/DateTime representing the “start” of this week (i.e, Monday; DateTime objects will have time set to 0:00).
beginning_of_week()Returns a new Date/DateTime representing the “start” of this week (i.e, Monday; DateTime objects will have time set to 0:00).