|| Link Me
Free: [ Guestbook || MessageBot || Plugins || Counter || AusPrices || Advertise ]
ServerClock() Note that GMT does not handle change if there is Daylight savings time, so if you are in a country that uses daylight savings, then you will need to change the offset when you are in daylight savings time.
They changed the definition of getTimezoneOffset() in 3.0, to be the reverse!!! Well here is the magic (urrgh)! [thanks to zoomer for noting the clock was wrong in 3.0]. The code included here works for netscape 1.1 and above (last checked at netscape 4.5.1) and I.E for the same times..
d = new Date(); if (navigator.appVersion.substring(0,3) == "2.0") realOffset = -d.getTimezoneOffset(); else realOffset = d.getTimezoneOffset();