Displaying 2 results from an estimated 2 matches for "daylightdate".
2007 Oct 14
2
GetTimeZoneInformation question
Hi all,
The following code snippet isn''t working terribly well for me. I can get
the Bias, StandardName and DaylightName, but everything else is goofed
up. The alignment seems ok, but maybe I''ve missed something or maybe I
have to do extra work to unpack the SYSTEMTIME structures.
require ''windows/time''
include Windows::Time
buf = 0.chr * 172 #
2009 Aug 25
3
Timezone not recognised kludge
...d9,07,04,00,00,00,05,00,02,00,00,00,00,00,00,00,\
d9,07,09,00,00,00,1b,00,02,00,00,00,00,00,00,00
; FFFFFD30 = -720 (LONG Bias)
; 00000000 = 0 (LONG StandardBias)
; ffffffc4 = -60 (LONG DaylightBias)
; 2009-04-05 2:00 (RTL_SYSTEM_TIME StandardDate)
; 2009-09-27 2:00 (RTL_SYSTEM_TIME DaylightDate)