Returns a new CalculationDate relative to the CalculationDate shifted so that the day of the month is the first. 


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

var date = date.startOfMonth();

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

//date = 2017-03-01 15:00:00

Did this answer your question?