FileGetTime
- Last UpdatedJul 18, 2023
- 1 minute read
Gets the time on a file.
Syntax
FileGetTime(File)
File:
The file number.
Return Value
The file time of the file (in the Plant SCADA time/date variable format).
Related Functions
FileOpen, FileClose, FileSetTime
Example
File = FileOpen("[data]:report.txt", "r");
! Get the time of the file
iTime = FileGetTime(File);
FileClose(File);