Returns the time-zone offset in minutes for the current locale.
Method of Date
Syntax
getTimezoneOffset()
Parameters
None
Description
The time-zone offset is the difference between local time and Greenwich Mean Time (GMT). Daylight savings time prevents this value from being a constant.