Skip to content

getMonth

Returns the calendar month.

myDateTimeOffset.getMonth():number

Returns

An integer from 1 through 12, where 1 is January.