Directory.accessed read/write property



The Directory.accessed property set or get a Datetime value indicating when the folder has been last accessed.

If the folder do not exist, this property returnsniland setting its value will have no effect.

Example

local windir = sys.env["windir"] local dir = sys.Directory(windir) print('Last access on directory "'..windir..'" was on '..dir.accessed)