If the file do not exist, this property returns
nil
and setting its value will have no effect.File.created read/write property
The File.created property set or get a Datetime value indicating when the file has been created. The file must exist physically on the disk.
Example
local file = sys.File(sys.env["windir"].."\\win.ini")
print("Operating system was installed on "..file.created)