method

beginning_of_week

Importance_1
v3.2.1 - Show latest stable - 0 notes - Class: Time
beginning_of_week(start_day = :monday) public

Returns a new Time representing the “start” of this week, week starts on start_day (default is :monday, i.e. Monday, 0:00).

Show source
Register or log in to add new notes.