Returns the day of the month for the CalculationDate.

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

console.log('Day of the month = %s', date.day());

// Day of the month = 23
Did this answer your question?