Gets the last modification time of a file.
modtime, errormsg = love.filesystem.getLastModified( filename )
string filename
number modtime
string errormsg
modtime, errormsg = love.filesystem.getLastModified("file.dat") if modtime then print(os.date("%c", modtime)) -- "02/15/2011 12:32:11" (Depends on the system and locale) end
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.filesystem.getLastModified