Flowdock
method

beginning_of_week

Importance_1
Ruby on Rails latest stable (v4.2.1) - 0 notes - Class: Calculations
beginning_of_week(start_day = Date.beginning_of_week) public

Returns a new date/time representing the start of this week on the given day. Week is assumed to start on start_day, default is Date.beginning_of_week or config.beginning_of_week when set. DateTime objects have their time set to 0:00.

Show source
Register or log in to add new notes.