How to return the time-zone offset in minutes for the current locale?
Answers
Answered by
0
Answer:-A simple way to check that this works (on Windows) is to change your timezone to a non DST zone, for example Arizona will return false, whereas EST or PST will return true. The getTimezoneOffset() method in JavaScript, in a browser, returns the number of minutes offset from the 00:00 time zone.
Similar questions