Daylight Savings Time

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I am trying to convert local time to GMT in a script. I can get the GMT offset
for standard time, but that is not valid when Daylight Savings Time is active. I
set the system clock for midsummer when DST is active and ran the script which
determines GMT offset. I got the same number I get for standard time.

Is there a way to detect whether DST is set and active? Or better yet, is there
a way to get GMT directly while the computer clock is set for the local time
zone?
--
Crash


.



Relevant Pages

  • Re: Daylight Savings Time
    ... >I am trying to convert local time to GMT in a script. ... I can get the GMT offset ... I got the same number I get for standard time. ...
    (microsoft.public.scripting.vbscript)
  • Re: Daylight Savings Time
    ... > I am trying to convert local time to GMT in a script. ... > determines GMT offset. ... I got the same number I get for standard time. ... #2: Get the ActiveTimeBias from WMI: ...
    (microsoft.public.scripting.vbscript)
  • Re: Getting computed/current style
    ... Since I never attempted to retrieve offset values of relatively ... positioned elements by script, I wrote a little test case. ... I fail to see how offset coordinates are useful for animations. ... correct to the pixel (rather than assuming that the browsers' often ...
    (comp.lang.javascript)
  • Re: a couple modest MV proposals
    ... Thanks Henry - yes a very interesting article, ... If your date:time also included the local GMT offset, ... to local time before acting on the data. ... US mm/dd/yy format. ...
    (comp.databases.pick)
  • Re: Absolute element offsets--exercise in futility
    ... script like jQuery was only an issue if calling apps ... browser scripting neophytes: calculating offset positions. ... handful of browsers supported by jQuery. ...
    (comp.lang.javascript)