Home

Welcome to OnlineConversion.com

Time Zone identification
 

Time Zone identification
by ahbal on 06/27/02 at 12:26:12

In the Time Zone page on this site there is this statement: "The time is taken from your browser". Could you share the code used to grab the user's time zone from her/his browser? Thanks!


Re: Time Zone identification
by Robert Fogt on 06/28/02 at 02:35:47

It uses the JavaScript Date object.

Date.getTimezoneOffset() returns the offset from GMT

There are many more.  Try searching a javascript site for them.  Or view the source of the page.  The code used is not hidden in anyway.


Go Back | Archive Index


 

Did you find us useful?

Please consider supporting the site with a small donation.

click here for more information

 


BookMark Us

It may come in handy.

Check out our Conversion Software for Windows.

Can't find something?
Try searching.

Are you bored?
Try the Fun Stuff.

Was this site helpful?
Link to Us | Donate