| Language Reference ||
Determine the difference in minutes between the time on the host computer and Greenwich Mean Time (GMT).
The getTimezoneOffset method returns an integer value representing the number of minutes between the current machine and GMT. These values are appropriate to the computer the script is executed on. If it is called from a server script, it returns values appropriate to the server. It is called from a client script, the return value appropriate to the client.
For example, a server in New York City is contacted by a client in Los Angeles on December 1. getTimezoneOffset returns -480 if executed on the client, or -300 if executed on the server.
|file: /Techref/language/asp/js/26.htm, 1KB, , updated: 1996/11/22 10:12, local time: 2019/12/9 11:07,
|©2019 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.sxlist.com/techref/language/asp/js/26.htm"> Microsoft® JScript Language Reference </A>
|Did you find what you needed?|
Welcome to sxlist.com!
& kind contributors
just like you!
Please don't rip/copy
Copies of the site on CD
are available at minimal cost.
Welcome to www.sxlist.com!