Date.prototype.getTimezoneOffset

Return the difference in minutes between the local time and Universal Coordinated Time (UTC).

Syntax

getTimezoneOffset()

Return value

A number representing the difference in minutes between the local time and UTC.

Example

new Date().getTimezoneOffset() // for CET time zone
-60