t = Pm.FileGetLastAccessTime(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.FileGetLastAccessTime("#data:file.txt")
If FileTime Then
'The file exists and the FileTime contains the time of last access
'The file doesn't exist or is not accessible