Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Correcting for msWindoz time stamp
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Miscellaneous
Thread ID:
00968088
Message ID:
00968457
Views:
8
>We have come across a problem with time stamps on files.
>If the file was created during Standard time, ADIR (and the OS) are adjusting the display of the time stamp to Daylight time. So a file created at 11:30 AM is now showing up as have being created 10:30 AM.
>Leaving aside why in the world the engineers at m.s decided to do this, is there a way to correct for this in VFP code?

All three file timestamps are stored as UTC (Univeral Coodinated Time) date/times. The OS, coverts these into the local time, using the current bias (the difference between the local date/time and the UTC date/time). This seems to be the source of the problem.

My friend, Dragan, mentioned the download I provided. It should allow you to resolve this. If you have any questions, please post back to me.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform