Cicode Programming Reference > Cicode Function Categories > File Functions Introduction > FileGetTime

FileGetTime

Gets the time on a file.

Syntax

FileGetTime(File)

File:

The file number.

Return Value

The file time of the file (in the CitectSCADA 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);

See Also

File Functions