[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Daylight savings time fix for WinNT
From: |
Tony Hoyle |
Subject: |
Re: Daylight savings time fix for WinNT |
Date: |
Tue, 21 Nov 2000 15:30:25 +0000 |
"Derek R. Price" wrote:
> Hey Tony. I know this is an old email (April), but you wouldn't happen
> to have the complete fix for this, would you? I tried what I thought
> you were describing and it didn't work. Also, does using _tzset mean
> TZ has to be set? The _tzset page on msdn.microsoft.com seem to imply
> it did, but the Time Management Routines page seems to imply that TZ
> only overrides the system settings. I tried both ways and neither
> worked.
_tzset helps but isn't the complete solution. When the clocks changed
again
all the files became modified again. I think there is something wrong
with
the implementation of the time functions in the C libraries, but it's
difficult
to test (In summer I'm one hour off GMT and in winter the same as GMT.
Especially
in winter debugging such code is a nightmare...)
Tony