.getFullYear()

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

Explanation: The method that returns the full year (in four digits) of a specified date. This value reflects the year based on the local time of the system and is useful for determining the complete year in date-related operations.

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: