Put your logo here!

TOC PREV NEXT



modDate

Returns the last modified date of a specified file or directory.

Method of

 File

Syntax

 double modDate ( FileSpecObject NativeFolderPath );

Parameters

The modDate method has the following parameters:

 NativeFolderPath

A FileSpecObject representing the queried file.

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
TOC PREV NEXT