Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modify file's timestamp
Message
From
20/10/1999 14:07:25
 
 
To
20/10/1999 12:42:46
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00278899
Message ID:
00278994
Views:
19
Erik,
One thing that hasn't been mentioned is that VFP 5/6 FoxTouch() function works just slightly different than the FPW version. The date and time you provide is "adjusted" by your timezone offset before it's applied to the file. So you either have to know what this TZ bias is, OR read it from the registry. Of course it's stored in a binary value so you can't use the standard REGISTRY.PRG.

Rick


>>>I thought I remembered a Foxtools function that would let me modify a file's timstamp. "Touch()" or something. But I can't find it now. Anyone care to refresh me?
>>
>>I'm not a FoxTools kinda guy, but you could FOPEN the file, FREAD the first byte and FWRITE it back to change the date/time stamp.
>
>Yeah, I do that when all I need to do is change it to the current date/time, but in this case, I need to rewind.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform