Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modify file's timestamp
Message
From
21/10/1999 12:48:02
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00278899
Message ID:
00279455
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

I solved it with the registry setting. Thanks for the remonder though. You have put so much useful stuff in that class, that I forget to look there to see if what I need, you have already done.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform