love.filesystem.getLastModified
Gets the last modification time of a file. Function Synopsis modtime, errormsg = love.filesystem.getLastModified( filename ) Arguments string filename The path and name to a file.
Returns number modtime The last modification time in seconds since the unix epoch or nil on failure. string errormsg The error message on failure.
Examples Getting the time of a file and printing it as a date. modtime, errormsg = love.filesystem.getLastModified("file.dat")
if