.getDay()

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

Explanation: The method that returns the day of the week for a specified date, where 0 represents Sunday and 6 represents Saturday. It retrieves this value based on the local time of the system.

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: