Next Topic

Previous Topic

Book Contents

GetFileCreatedTime

TLuaDateTime GetFileCreatedTime(string sFilename)

Return values

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

Parameters

  • pFilename - 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.