Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modify file's timestamp
Message
 
To
20/10/1999 15:34:48
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00278899
Message ID:
00279202
Views:
16
Hi Erik,

>Yeah, I looked at GetTimeZoneInformation as soon as I figured out what was going on, and it looks like it would be quite a chore. (It needs a pointer to a structure). While I have battled API calls that needed similar setup (thanks, Christof, Ed), it's still not easy sailing for me.

Just to mention it... The FindFiles.Prg sample in my Struct class deals with the conversion from "file time UTC" to "file time local time" to "sytem time" to "VFP datetime". Maybe you can use some parts of it, ie. invert this chain and then directly convert filetime UTC > system time > datetime. This should give you the time as FoxTouch() needs it. But of course, you can stick with the registry solution. *s*

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform