lovr.filesystem.getLastModified

Returns when a file was last modified.

time = lovr.filesystem.getLastModified(file)

Arguments

NameTypeDescription
filestringThe file.

Returns

NameTypeDescription
timenumberThe time when the file was last modified, in seconds.

See also