standard.C.io.filelast_mod

filelast_mod is available since version 1.0.

Prototype:

number filelast_mod(string path)

Parameters

path
[in] A string containing the path of existing file.

Description:

Gets the last modification date/time of a file. Is equivalent to the _stat function as this: _stat(path)["st_mtime"].

Return value:

Returns the last modification time for a file.