file.created

Syntax file.created (path)

Params path is a legal path name to the file or folder whose creation date you wish to determine.

Action Determines the date on which the file was created.

Returns Returns the date the file named in path was created.

Examples file.created ("C:\\Program Files\\Frontier\\Frontier.root")

   » "12/5/97; 3:41:22 PM"

number (file.created ("C:\\Program Files\\Frontier\\Frontier.root"))

   » -1330786014

file.created ("System:System Folder:System")

   » 4/25/91; 12:00 PM

number (clock.now () - file.created ("System:System Folder:System"))

   » 9506552

Number of seconds since the file was created.

Notes If you ask Frontier to display the return value from this verb as a number, it returns the number of seconds after midnight, January 1, 1904, that elapsed before the file's creation date.

See Also file.modified

file.setCreated

file.setModified

Discuss