method

days_to_week_start

v3.2.8 - Show latest stable - Class: Time
days_to_week_start(start_day = :monday)
public

Returns number of days to start of this week, week starts on start_day (default is :monday).