Click to See Complete Forum and Search --> : File Date time
swine
Dec 13th, 1999, 10:36 PM
Anyone know how I can determine the date and time stamp of a file? I need to continue processing after the file has been updated.
Thanks.
HeSaidJoe
Dec 13th, 1999, 10:40 PM
Private Sub Form_Load()
Dim x
x = FileDateTime("C:\my documents\try.txt")
MsgBox x
End Sub
'Wayne
Serge
Dec 13th, 1999, 10:41 PM
You can use VB's build-in function FileDateTime.
Example:
Dim dtTimeStamp As Date
dtTimeStamp = FileDateTime("C:\MyFile.txt")
------------------
Serge
Software Developer
Serge_Dymkov@vertexinc.com
Access8484@aol.com
ICQ#: 51055819 (http://www.icq.com/51055819)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.