General information
Category:
Windows API functions
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only