Next Topic

Previous Topic

Book Contents

GetFileModifiedTime

TLuaDateTime GetFileModifiedTime(string sFilename)

Return values

A TLuaDateTime object containing the time of the last modification of the file if the function is successful; otherwise a TLuaDateTime object set to 0.

Parameters

  • sFilename - Name of file in current directory.

Remarks

The file must be in the current directory for this function to success, relative paths will not work.