modDate

Summary

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

Method of

File object

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.

Document Tags and Contributors

 Last updated by: Sheppy,