method

beginning_of_week

Importance_1
v2.2.1 - Show latest stable - 0 notes - Class: ActiveSupport::CoreExtensions::Date::Calculations
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)

Show source
Register or log in to add new notes.