.getMonth()

Term side of the Card
Topic: Date
Unit title: .getMonth()
Categories: Method
Explanation side of the Card

Explanation: The method that returns the month for a specified date according to local time, where 0 represents January and 11 represents December.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: