t = Pm.FileGetLastWriteTime(sFile)
|sFile||(String) The file name with the path. If a full path is not entered, then it is completed relatively according to the application file folder. |
It is recommended to use the PROMOTIC path syntax - see PROMOTIC path to files and folders.
FileTime = Pm.FileGetLastWriteTime("#data:file.txt")
If FileTime Then
'The file exists and the FileTime contains the time of last write
'The file doesn't exist or is not accessible