Get Time Zone Offset Method
The Get Time Zone Offset method returns the difference, in minutes, between UTC time and local time that it calculates as the UTC time minus the local time. For example, Central European Time (CET) is UTC plus 60. On a computer that is set to the CET time zone, the Get Time Zone Offset method returns a value of negative 60.
Format
dateVar.getTimezoneOffset()
The following example calculates the difference from UTC, in hours, of your location, according to the setting in the Windows Control Panel:
var aDate = new Date();
var hourDifference = Math.round(aDate.getTimezoneOffset() / 60);
TheApplication().RaiseErrorText("Your time zone is " +
hourDifference + " hours from GMT.");