| My JavaScript clocks Moje JavaScriptov‚ hodiny |
|---|
Tyto hodiny skute‡nˆ mˆn¡ sv–j £daj PžESN‰ ka‘dou vte©inu! Viz v˜po‡et optim ln¡ho zpo‘dˆn¡ jejich rekursivn¡ho vol n¡. Tak‚ spr vnˆ p©ech zej¡ mezi letn¡m a zimn¡m ‡asem - viz n¡‘e.
| 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. |
Proto‘e Javascript bˆ‘¡ na va¨em po‡¡ta‡i, jsou oba ‡asy odvozeny
od vnit©n¡ch hodin va¨eho po‡¡ta‡e. —daj winnipegsk˜ch hodin
naho©e na str nce z vis¡
na spr vn‚m nastaven¡ va¨¡ m¡stn¡ ‡asov‚ z¢ny (TZ) na va¨em
po‡¡ta‡i a tak‚ na implementaci javascriptov‚ metody getTimezoneOffset().
MS Internet Explorer verze 3 vrac¡ rozd¡l proti
Greenwichsk‚mu ‡asu (TZ offset) s opa‡n˜m znam‚nkem! Netscape 3+
a MS IE 4+ d vaj¡ spr vn˜ TZ offset. To v¨echno bere m–j program v
£vahu. Nem m ale zat¡m tu¨en¡ jak se chovaj¡ jin‚ prohl¡‘e‡e.
Tady ve Winnipegu jsme 6 hodin na z pad od Greenwiche, to znamen , ‘e v l‚tˆ jsme 5 hodin za Greenwichsk˜m ‡asem (GMT) a v zimˆ 6. Pokud winnipegsk‚ hodiny naho©e ukazuj¡ nespr vn˜ ‡as a va¨e nastaveni TZ je v po© dku, m–‘ete pros¡m kliknout tady a poslat mi obsah str nky, kter se objev¡? Od roku 2007 se p©ep¡n n¡ mezi letn¡m a zimn¡m ‡asem prov d¡ druhou nedˆli v b©eznu ve 2 r no CST a prvn¡ nedˆli v listopadu ve 2 r no CDT, co‘ se li¨¡ od st©edn¡ Evropy. Pokud se p©epnut¡ ud lo od posledn¡ho vyvol n¡ t‚to str nky, je nutno stisknout Reload/Refresh, aby se zmˆna projevila na hodin ch naho©e. Jednu hodinu kolem p©epnut¡ m–‘ou hodiny ale stejnˆ ukazovat ¨patn˜ ‡as. |
| Compare the setting of your clock with the exact time by USNO Srovnejte nastaven¡ Va¨ich hodin s p©esn˜m ‡asem podle USNO |
|---|
| Central European Time - St©edoevropsk˜ ‡as |
|---|