HolyLib Wiki

Time

  number filesystem.Time( string fileName, string gamePath = GAME )

Description

Returns the time when the given file was last modified in unix time.

Arguments

1string fileName
the file to use
2string gamePath = GAME
game path to use

Returns

1number time
Returns the time or 0 on failure