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