Directory.created read/write property



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

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("Operating system was created on "..dir.created)