next up previous contents
Next: dateLastAccessed Up: Properties Previous: attributes   Contents

dateCreated

Description

Integer. Returns or sets the date and time that the specified file or folder was created.


Syntax

file.dateCreated


Example

f = new File("c:\\demo\\1.txt");
d = new Date(f.dateCreated);
trace(d.toLocaleString());
//output: Fri Aug 16 16:46:45 GMT+800 (中国标准时间) 2002




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.