F
Fred Hebert
For years I have had problems with all of the file times
on my Windows systems changing every time Daylight Saving
Time (DST) begins or ends. I have found no way to get my
system to display the correct time, and not change the
file times.
I am a small time developer and use an automatic mechanism
for my customers to download updates across the web.
Basically the files are stored on a web server along with
a directory listing that contains file times, dates and
checksums. The client software periodically retrieve the
directory listing and use to compare to their local
files. If the file changes they download it, and verify
the download with the checksum.
This weekend everyone downloaded everything and really
swamped my server, and I am probably going to pay a
bandwidth premium. This is a real pain because no files
changed. All of the Windows clients just thought the file
times changed.
Apparently the file time is internally adjusted from the
UTC time based on the current time offset, not the time
offset that was in effect when the file was created.
Incidentally NONE of my Netware, Unix or Linux clients had
this problem.
If I turn off Automatically adjust for DST, then the file
times don't change, but the current time is always wrong.
Any suggestions on how to fix this?
on my Windows systems changing every time Daylight Saving
Time (DST) begins or ends. I have found no way to get my
system to display the correct time, and not change the
file times.
I am a small time developer and use an automatic mechanism
for my customers to download updates across the web.
Basically the files are stored on a web server along with
a directory listing that contains file times, dates and
checksums. The client software periodically retrieve the
directory listing and use to compare to their local
files. If the file changes they download it, and verify
the download with the checksum.
This weekend everyone downloaded everything and really
swamped my server, and I am probably going to pay a
bandwidth premium. This is a real pain because no files
changed. All of the Windows clients just thought the file
times changed.
Apparently the file time is internally adjusted from the
UTC time based on the current time offset, not the time
offset that was in effect when the file was created.
Incidentally NONE of my Netware, Unix or Linux clients had
this problem.
If I turn off Automatically adjust for DST, then the file
times don't change, but the current time is always wrong.
Any suggestions on how to fix this?