Google Answers Logo
View Question
 
Q: free or cheap javascript code to calculate the global times ( No Answer,   2 Comments )
Question  
Subject: free or cheap javascript code to calculate the global times
Category: Miscellaneous
Asked by: bestsite-ga
List Price: $4.00
Posted: 12 Sep 2002 21:09 PDT
Expires: 12 Oct 2002 21:09 PDT
Question ID: 64524
free or cheap javascript code to calculate the time simultaneously
anywhwere in the world

Request for Question Clarification by alienintelligence-ga on 12 Sep 2002 21:20 PDT
To calculate time zone differences for any time?
Or to display current time in all time zones?

[ http://www.arachnoid.com/lutusp/worldclock.html ]

-AI

Clarification of Question by bestsite-ga on 12 Sep 2002 21:43 PDT
to display current time in all time zones
One method:
users say where they are
then they select from a dropdown of country/cities 
then software then displays the time in the country/cities chosen

However there may be smarter ways to do this - I'm open to all info 
pref free or low $$ 
Thanks
Charlie Chan

Request for Question Clarification by joseleon-ga on 12 Sep 2002 23:43 PDT
Hello:
   Take a look at this script:

DATE/TIME SCRIPT
http://321webliftoff.net/flash/dat.html

I could adapt it to fit your needs, tell me if you are interested.

Regards.
Answer  
There is no answer at this time.

Comments  
Subject: Re: free or cheap javascript code to calculate the global times
From: pne-ga on 14 Sep 2002 07:33 PDT
 
That script apparently won't work for people whose time zone is not a
multiple of 30 minutes away from UTC. (On the other hand, such
situations are rare; the only one I can think of offhand is Nepal:
GMT+05:45.)
Subject: Re: free or cheap javascript code to calculate the global times
From: iso8601-ga on 31 Oct 2002 18:27 PST
 
Be aware that the BASE time zone for the world is now known as UTC,
not GMT.

This helps eliminate the confusion that clocks in Britain use GMT only
in the Winter, and then advance by One Hour in the local Summer. This
time zone is known as BST (British Summer Time) and usually runs from
the last Sunday in April until the last Sunday in October. That is, UK
clocks only show GMT during the UK Winter months. During UK Summer
months, take one hour off the UK clock time to find GMT or UTC time.

All world time zones are referenced to UTC which does not observe any
sort of Daylight Savings Time.

Some countries have DST in their summer, others keep to the same zone
all year round. There are a number of countries with 15, 30, or 45
minute offsets from a whole number of hours different to UTC.

Be aware that the Southern Hemisphere has their Daylight Savings Time
in their Summer months, which is in the same months that the Northern
hemisphere has Standard Time during the Northern Winter.

Later when the Northern hemisphere is on Daylight Savings Time, during
the Northern Summer, note that the Southern hemisphere is in Winter
and hence back on their Standard time again.

Time Zones are normally quoted as the Standard Time, and are quoted as
the offset from UTC, which is NOT the same as "UK Clock Time".

Also note that the changeover from Standard to DST and back is spread
over several months around April and October, across all of the
countries, and that for political reasons the dates are variable each
year. It is not really possible to put in an automated system for
changing the DST on and off automatically as the changeover dates are
often only known a few months beforehand, so could not be easily built
into a program.

For time zone issues and information, this list is useful:
http://www.timeanddate.com/time/dst2002b.html  as is much of the rest
of the site.

Try to avoid using abbreviations for zones like EST as this could be
Eastern Standard Time (US) [UTC-0500], European Summer Time
[UTC+0200], Eastern Standard Time (Australia) [UTC+0930] or whatever. 
Use the numeric zones if possible (UTC+0700 etc) as shown in the ISO
8601 standard and in RFC 3339.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy