Javascript GetMonth() Function

The getMonth() function of date object returns month of the specified date (month start with zero). Use it for example to get month of the specified date.

Syntax

Javascript GetMonth Method Example

This will produce following result