modDate
Returns the last modified date of a specified file or directory.
Method of
FileSyntax
double modDate ( FileSpecObject NativeFolderPath );Parameters
The
modDatemethod has the following parameters:Returns
A double number representing the date that the file was last modified.
Example
f = getFolder("Program"); fileSource = getFolder(f, "myfile.txt"); err = File.modDate(fileSource);See modDateChanged for an example of comparing the dates of two files.
| Netscape Communications devedge.netscape.com |