Microsoft® JScript getTimezoneOffset Method |
| Language Reference | |
Determine the difference in minutes between the time on the host computer and Greenwich Mean Time (GMT).
objDate.getTimezoneOffset( )
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: 2024/11/21 20:55,
3.147.53.90:LOG IN
|
©2024 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://ecomorder.com/techref/language/asp/js/26.htm"> Microsoft® JScript Language Reference </A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.