Returns a string that contains the date and the time that a file was created or last modified.
FileDateTime (Teksts As String)
Text: Any string expression that contains an unambiguous (no wildcards) file specification. You can also use URL notation.
This function determines the exact time of creation or last modification of a file, returned in the format "MM.DD.YYYY HH.MM.SS".
Sub ExampleFileDateTime MsgBox FileDateTime("C:\autoexec.bat") End Sub