Welcome to WebmasterWorld Guest from 184.72.177.182

Forum Moderators: open

Message Too Old, No Replies

javascript Clock for 5-6 countries

     
8:08 pm on Mar 15, 2008 (gmt 0)

New User

5+ Year Member

joined:Mar 15, 2008
posts: 8
votes: 0


Hi,
I am looking for a javascript which shows current time for 5-6 countries, for IE and firefox

Thankyou in advance

3:38 am on Mar 16, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 15, 2002
posts:6807
votes: 0


Welcome to WebmasterWorld!

What are you using to keep track of daylight savings time changes etc?
And, do the different countries have the same timezone throughout, or are there different timezones within any of the countries?

10:03 am on Mar 16, 2008 (gmt 0)

New User

5+ Year Member

joined:Mar 15, 2008
posts:8
votes: 0


Hi Doc,

I am looking for 12 hr format with different time zones, one time zone per country (to keep things more simple)

Thanks in avance

3:17 pm on Mar 16, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 15, 2002
posts:6807
votes: 0


Is the clock controlled by the server time, or by the client clock? If by the server (passing Unix timestamp as variable in the JavaScript), this will be a lot more accurate.

Also, how are you keeping track on when daylight savings time begins and ends in the different countries?

5:02 pm on Mar 16, 2008 (gmt 0)

New User

5+ Year Member

joined:Mar 15, 2008
posts:8
votes: 0


The clock for client clock, using standard GMT time , is there any javascript for this kind ?

Thank you

12:19 pm on Mar 18, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 23, 2004
posts: 63
votes: 0


There's a great (free) one here:
maxxblade.co.uk/clock/
I made an adapted version (with multiple timezones), stickymail me and I'll provide the website where I use it.