Use this function to find out exactly when a file was last written to (return a timestamp).
[Ok :=] File.GETSTAMP(Name, Date [, Time])
Type: code or text
The name of the file, including the path. When you enter the path, keep in mind these shortcuts:
You can omit the drive designation, if the file is located on the current drive.
You can omit the full path, if the file is located in the current directory.
You can enter only the subdirectory name, if the file is located in a subdirectory of the current directory.
The date that the file was last written to.
(Optional) The time that the file was last written to.
Property Value/Return Value
If you omit this optional return value, a run-time error occurs when the file cannot be found. When you include the return value, you must handle any errors. The return value can have these values:
true if the file exists; otherwise, false.