Methods

Name Type Description
$month.toInteger() Integer

This month as number, 1 for January, 12 for December.

$month.toString() String

This month formatted using a standard format pattern.

$month.toString(pattern) String

This month formatted using the specified format pattern.

Parameter Type Description
pattern String
$month.year Year

The year this month belongs to.