Programming Reference Manual
 
Syntax
 
FileDateTime(Name$)
 
Description
Return the date and time file Name$ was last changed as a date value. If the file does not exist then a run-time error occurs.
 
Parameter
Description
Name$
This string value is the path and name of the source file. A path relative to the current directory can be used. 
See Also
 
Example
 
Sub Main
    F$ = Dir$("*.*")
    While F$ <> ""
        Debug.Print F$;" ";FileDateTime(F$)
        F$ = Dir$()
    Wend
End Sub