Returns a new CalculationDate relative to the CalculationDate shifted so that the day of the week is a Monday. 

var date = now.valueOf('2017-03-15 15:00:00'); // 3pm on a Wednesday

var date = date.startOfWeek();

console.log('date = %s', date);

//date = 2017-03-13 15:00:00
Did this answer your question?