Skip to main content
Skip table of contents

Month

Methods

NameTypeDescription
$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.

ParameterTypeDescription
patternString
$month.yearYear

The year this month belongs to.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.