HolyLib Wiki

TimeAccessed

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

Description

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

Arguments

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

Returns

1number accessTime
Returns the time or 0 on failure