|
-
May 27th, 2001, 02:26 PM
#1
Thread Starter
Junior Member
how can i check the timestamp on a file?
i want to display the file with the most recent timestamp. is there a way to see what the last-edited times ar on the files? thanks
-SiM
-
May 27th, 2001, 03:37 PM
#2
Use the FileDateTime function.
-
May 27th, 2001, 03:58 PM
#3
Thread Starter
Junior Member
i'm still pretty new to vb... (only been using it for about two weeks) so can you tell me a little more how to use that function? thanks
-SiM
-
May 27th, 2001, 04:18 PM
#4
This is how you use the FileDateTime function.
Code:
MsgBox FileDateTime("C:\Autoexec.bat") 'returns 5/12/01 4:59:18 PM
(this is when the file was last edited on my computer)
-
May 27th, 2001, 11:03 PM
#5
Thread Starter
Junior Member
thanks a bundle... i didn't know if i had to declare a function or anything. thanks again for the help.
-SiM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|