getMonth

getMonth()

Gets the month component of the date represented by this instance.

Returns: The month component, expressed as a value between 1 and 12.