GetLastWriteTime
The GetLastWriteTime function returns date time file was last modified.
Syntax :
GetLastWriteTime(FilePath)
Parameters | Description |
---|---|
FilePath | Required. The FilePath is the path (absolute or relative) to a specific file. |
Example :
dGetLastWriteTime = GetLastWriteTime("C:\Test.txt")
- dGetLastWriteTime will be date and time when C:\Test.txt was last modified.