Re: SetTimeZoneInformation and file time stamps
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Thu, 29 Mar 2007 14:18:20 -0700
The filesystem characteristics are set in the source code that implements
it.
If it were me, I'd make sure that my time zone information was right. Do a
GetTimeZoneInformation() and check the return value. Read the structure
that's filled in by the call and make sure that it's right, particularly
with respect to DST transition dates, offsets from GMT, etc. Then do the
same for the other location you're worrying about. That's the only stuff
that you have a chance of affecting, if it's wrong, so that's what you want
to make really sure.
Paul T.
<portnawake@xxxxxxxxx> wrote in message
news:1175201765.181671.318590@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Sorry, that was confusing.
I tried it on a different platform, different hardware, different
design, running mostly the same soft. No problem on that platform. I
guess the Ram filesystem is of a different nature (But where are its
properties defined?).
On the platform with the odd behavior, I have a one hour difference at
the moment because that's what I use in my test program to highlight
this issue (and to try and prove my point with MSFT tech support.).
But I've seen 12 hrs differences with the system defaulting to NZ
time, and the TZI later set to Europe.
Anyway, I don't really see how to dig any further for that issue, and
it's not something I can't work around.
But it's still stinging my curiosity, and that's annoying!
Cheers,
Alex
On Mar 30, 4:40 am, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no instrument no spam DOT com> wrote:
So, you have another copy of your platform and that works, or you've
tried
it on another platform and it works? If the time comparison is off by a
round number like one hour, check that the DST flag is set right. I
wouldn't expect that to matter, but, if the filesystem is storing local
time, not GMT, the state of the DST flag might cause a one hour error,
depending on what time zones are involved. You could also try a time
zone
where there is no DST change, like Arizona.
Paul T.
.
- References:
- SetTimeZoneInformation and file time stamps
- From: portnawake
- Re: SetTimeZoneInformation and file time stamps
- From: Paul G. Tobey [eMVP]
- Re: SetTimeZoneInformation and file time stamps
- From: portnawake
- Re: SetTimeZoneInformation and file time stamps
- From: Paul G. Tobey [eMVP]
- Re: SetTimeZoneInformation and file time stamps
- From: portnawake
- Re: SetTimeZoneInformation and file time stamps
- From: Paul G. Tobey [eMVP]
- Re: SetTimeZoneInformation and file time stamps
- From: portnawake
- Re: SetTimeZoneInformation and file time stamps
- From: Paul G. Tobey [eMVP]
- Re: SetTimeZoneInformation and file time stamps
- From: portnawake
- SetTimeZoneInformation and file time stamps
- Prev by Date: Re: SetTimeZoneInformation and file time stamps
- Next by Date: Clearing te keyboard buffer
- Previous by thread: Re: SetTimeZoneInformation and file time stamps
- Next by thread: RE: Making a device driver
- Index(es):
Relevant Pages
|