| 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 filenamenumber modtimestring errormsgmodtime, 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–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.filesystem.getLastModified