Returns the month of the year for the CalculationDate.

var date = now.valueOf('2016-01-23');

console.log('Month of the year = %s', date.month());

// Month of the year = 1
Did this answer your question?