My JavaScript clocks — Moje JavaScriptov hodiny
Your local time -: :- V mstn as

Winnipeg time -: :- Winnipegsk as

These clocks actually advance the time EXACTLY every second! It is achieved by setting the delay for the recursive calls to the JavaScript clock code to something less than 1000 miliseconds. The code calculates the correct value of the delay (which depends on the platform and the complexity of your code) automatically by means of a simple feedback mechanism. If one uses the delay of 1000 miliseconds as suggested e.g. in the JavaScript Guide, the interval between the consecutive clock updates is larger than 1 second, and the clock has to jump by two units now and then to make up for the delay. Also automatically switch betweeen the standard and the daylight saving time - see below.

Tyto hodiny skuten mn svj daj PESN kadou vteinu! Viz vpoet optimlnho zpodn jejich rekursivnho voln. Tak sprvn pechzej mezi letnm a zimnm asem - viz ne.

Is my Winnipeg clock wrong? Ukazuj moje winnipegsk hodiny patn as?
Because Javascript is running on your computer, both times are derived from your computer clock. The Winnipeg time displayed above depends on the correct setting of your local time zone (TZ) on your computer and on the Javascript getTimezoneOffset() method. It seems that MS IE version 3 is returning TZ offset with the opposite sign! Netscape 3+ and MS IE 4+ are giving the correct TZ offset. All this is taken into account in my code. But I have no idea about other browsers.

Here in Winnipeg we are 6 hours west of Greenwich, i.e., we are 5 hours behind GMT in the summer and 6 in the winter. If the Winnipeg time shown above is wrong and your TZ setting is correct, would you please click here and mail me the contents of the page that appears?

Since 2007, in most of Canada and USA the daylight saving/standard time switchover occurs on the 2nd Sunday of March at 2 am ST and on the 1st Sunday of November at 1 am ST (2 am DT), which differs from Central Europe. When switchover occurs since you opened/reloaded this page last time, you will have to reload the page for it to take effect. The time may still be wrong one hour around switchover.

Protoe Javascript b na vaem potai, jsou oba asy odvozeny od vnitnch hodin vaeho potae. daj winnipegskch hodin nahoe na strnce zvis na sprvnm nastaven va mstn asov zny (TZ) na vaem potai a tak na implementaci javascriptov metody getTimezoneOffset(). MS Internet Explorer verze 3 vrac rozdl proti Greenwichskmu asu (TZ offset) s opanm znamnkem! Netscape 3+ a MS IE 4+ dvaj sprvn TZ offset. To vechno bere mj program v vahu. Nemm ale zatm tuen jak se chovaj jin prohlee.

Tady ve Winnipegu jsme 6 hodin na zpad od Greenwiche, to znamen, e v lt jsme 5 hodin za Greenwichskm asem (GMT) a v zim 6. Pokud winnipegsk hodiny nahoe ukazuj nesprvn as a vae nastaveni TZ je v poއdku, mete prosm kliknout tady a poslat mi obsah strnky, kter se objev?

Od roku 2007 se pepnn mezi letnm a zimnm asem provd druhou nedli v beznu ve 2 rno CST a prvn nedli v listopadu ve 2 rno CDT, co se li od stedn Evropy. Pokud se pepnut udlo od poslednho vyvoln tto strnky, je nutno stisknout Reload/Refresh, aby se zmna projevila na hodinch nahoe. Jednu hodinu kolem pepnut mou hodiny ale stejn ukazovat patn as.

Compare the setting of your clock with the exact time by USNO
Srovnejte nastaven Vaich hodin s pesnm asem podle USNO

Central European Time - Stedoevropsk as