Re: Problem with file-dates between machines in different time-zones and daylight-saving times
- From: "R.Wieser" <address@xxxxxxxxxxxxx>
- Date: Wed, 5 Dec 2007 19:45:48 +0100
Günter Prossliner <g.prossliner/gmx/at> schreef in berichtnieuws
#cSfKb0NIHA.3852@xxxxxxxxxxxxxxxxxxxxxxx
Hello,
Hello Günter,
My question : is there a way to retrieve the actual UTC time as is
stored in the directory-entry ?
It depents on the File-System. FAT doesn't use UTC, but NTFS does.
I'm using FAT 32. And what do you mean "does not use UTC" ? Isn't that
what is actually stored into the directory-entry for the file (and converted
from-and-to the users local time)?
check out this:
[File Times (Windows)]
http://msdn2.microsoft.com/en-us/library/ms724290.aspx
Will do, thanks
Allso, is there a way to tell the
CopyFile command to use UTC instead of local time.
I don't understand what you meen by this. CopyFile has no dependency on
File-Times.
There are three file-times stored in a Win32 FAT directory-entry. When I
copy a file from my local computer to the remote one the "last written" time
matches the local file, the "created at" time does not (I've, due to the
problems with the previous times, not put much attention to the "last
accessed" time).
<snip>
Do you use the right conversation-functions? FileTimeToLocalFileTime does
NOT include daylight saving time settings!
At leased the docs are confusing:
As far as I can see it does (I've changed this setting and the time-zone
setting so many times now (to check the effects of the different settings &
used methods) that my head spins).
<snip>
But the Docs now specify that it does.... I would try them both.
I'll currently ready to try *anything*, so thanks for the pointers.
Regards,
Rudy Wieser
.
- References:
- Prev by Date: Re: Problem with file-dates between machines in different time-zones and daylight-saving times
- Next by Date: Re: docs about ZwReadFileScatter and ZwWriteFileGather
- Previous by thread: Re: Problem with file-dates between machines in different time-zones and daylight-saving times
- Next by thread: Re: docs about ZwReadFileScatter and ZwWriteFileGather
- Index(es):
Relevant Pages
|
Loading