Next Topic

Previous Topic

Book Contents

GetFileModifiedTime

TLuaDateTime GetFileCreatedTime(string sFilename)

Return values

Returns a TLuaDateTime object contaning the time the file was last modified; otherwise a TLuaDateTime containing 0, and a specific error code can be retrieved by calling global function GetLastError.

Parameters

  • sFilename - Path and name of the file.

Remarks

Use TLuaDateTime object to construct a string representing the time stored in the object or compare it with another TLuaDateTime object