.getTimezoneOffset()

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

Explanation: The method that returns the difference, in minutes, between the local time and UTC (Coordinated Universal Time) for a specified date. This value indicates how many minutes the local time is offset from UTC.

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: