Javascript GetTimezoneOffset() Function

The getTimezoneOffset() method of date object returns returns the time-zone offset from UTC in minutes. Use it for example to get time-zone offset from UTC in minutes.

Syntax

Javascript GetTimezoneOffset() Function Example

This will produce following result