Re: Error in time zone settings




John Geddes wrote:
I have two XP PCs - both set for the timezone "GMT (Dublin...London)"
with Daylight Saving ON. (We are current on GMT+1 here).

But they are an hour different in the local time shown on the page
http://wwp.greenwichmeantime.com and as read by JavaScript in a test
webpage that I have written. That makes me suspect XP
rather than Javascript.

Both PC's show the correct local time in the Systray area, and this is
confirmed if I force an "Update Now" on the Internet Time tab. They both
report correct times for file changes.

The problem PC (XP Pro) is reading time in Javascript as if it has Time
Zone locked to Greenwich and Daylight Saving OFF. It reports
date.getTimezoneOffset() - which should give the -60 minutes between
local time and GMT - as Zero. And it gives the same offset for today's
date and for a date in February (should be different). I've change
timezones and Daylight Savings settings - and whilst the Systray clock
changes, the time reported by Javascript stays the same - GMT+0 every
time. Restarting makes no difference.

The OK PC (XP Home) has all the same settings, but this one behaves
fine on exactly the same test webpage. It reports
date.getTimezoneOffset() as -60 for now, and zero for
February. Change the timezone and the reported offset changes accordingly.

Has anyone experienced the same? Is there any Registry setting I should
be checking?

John Geddes
England

1st check your batteries.

.



Relevant Pages

  • Error in time zone settings
    ... http://wwp.greenwichmeantime.com and as read by JavaScript in a test webpage that I have written. ... Zone locked to Greenwich and Daylight Saving OFF. ... It reports ... Change the timezone and the reported offset changes accordingly. ...
    (microsoft.public.windowsxp.general)
  • Re: Lat/Lon to Local Time
    ... Longitude to local time ... will be in an unnatural zone to keep them with the rest of the country. ... Some areas near to the equator don't bother with daylight saving ...
    (sci.geo.satellite-nav)
  • Re: clock, daylight savings time
    ... Assembler Services Reference IAR-XCT") whether STCKCONV ... returns local time or GMT nor how Daylight Saving and Leap ... If it is given local time, then the result will be local time. ... TOD clock value or a 128-bit ETOD clock value. ...
    (bit.listserv.ibm-main)
  • Re: Daylight Saving patch for New Zealand
    ... In the 12 hour period leading up to the daylight saving change, ... All of these are old Mac OS 9 applications which were ... by the local time zone's offset from UTC. ...
    (comp.sys.mac.system)
  • ISA reporting for webtraffic
    ... ISA logs are in GMT, your ISA reports are in local time. ... Understand how your applications are written, ...
    (microsoft.public.isa)

Loading