Luart
Comprehensive Windows framework to develop in Lua
modules > sys > File > created

File.createdread/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)