Deprecated in LÖVE 11.0 |
This function is deprecated and is replaced by love.filesystem.getInfo. |
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