Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get last update date / time ???
Message
From
26/04/1999 14:46:24
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00212232
Message ID:
00212257
Views:
31
>>>How can I get the date a file was last updated? I've tried ADIR(aArray, ) but the array comes up empty ( because there's only one file? )
>>>
>>>Is there another way??
>>>
>>>TIA
>>
>>ADIR() should work Ok, but FDATE() is even simpler.
>
>Excellent... thank you

to get a Datetime format:

lcFile = "c:\myfile.txt"
?CTOT(DTOC(FDATE(lcFile)) + " " + FTIME(lcFile))
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform