User Guide

262 Objects
Description
Method; returns a JavaScript Date object that represents the date and time when the specified
file or folder was created.
Example
The following example displays (in human-readable form) the date a file was created in the
Output panel:
// Make sure the specified file exists.
var file1Date = FLfile.getCreationDateObj("file:///c|/temp/file1.txt");
fl.trace(file1Date);
See also
FLfile.getCreationDate(), FLfile.getModificationDateObj()
FLfile.getModificationDate()
Availability
Flash MX 2004 7.2.
Usage
FLfile.getModificationDate(fileOrFolderURI)
Parameters
fileOrFolderURI A string, expressed as a file:/// URI, specifying the file whose
modification date and time you want to retrieve as a hexadecimal string.
Returns
A string containing a hexadecimal number that represents the number of seconds that have
elapsed between January 1, 1970, and the time the file or folder was last modified, or
"00000000" if the file doesnt exist.
Description
Method; specifies how many seconds have passed between January 1, 1970, and the time the
file or folder was last modified. This method is used primarily to compare the creation or
modification dates of files or folders.