...

View Full Version : Time Zones



mousie_kebabs
02-02-2004, 07:46 PM
Hi

Is it possible to set the time for certain places, for example if i made a clock that was meant to show English time and some one in America looked at it, it would still say the English time. Can some one please exaplin to me how this could be done, if it is possible.

Thanks
Mouisie

Antoniohawk
02-03-2004, 03:26 AM
I don't think that a script could tell where a person is from just by them visiting the site, but you could give them the option of selecting their time zone from a dropdown or such.

glenngv
02-03-2004, 04:40 AM
The getTimezoneOffset() method of the Date (http://www.devguru.com/Technologies/ecmascript/quickref/date.html) object returns the difference in minutes between local time and Greenwich Mean Time

ArcticFox
02-03-2004, 01:11 PM
I've got something like that on my site:
http://arctic.ithium.net/

I've also the date, but can't get that to run with GMT or "getTimezoneOffset()"... any ideas?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum