Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting a file's timestamp
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00314025
Message ID:
00314132
Views:
24
>>Does anyone know how to explicitly set a files time date stamp from vfp6. I think there used to be a foxtools function called ftouch that did this but it seems to be gone now. If your solution includes using the win32ap setfiletime function plese let me know how to convert from a foxpro datetime to the wierd format that function uses.
>>
>>Thanks in advance.
>>
>Hi Jacob,
>
>There still is a Foxtools function that does this: FoxTouch(). It's usage is described in Q114949 in the MS KB and in my "Extended Foxtools Help" file available here on the UT.
>
>One note: There's a known bug. If you fail to indicate the timestamp (it's supposed to default to the current system time) the function stamps the file with the current UTC time for your locale.


Thanks for the help it worked fine after I figured out how to translate the offset from the registry.

Jay
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform