Topic group Related topics Example
Returns the last date a file was opened.
A reference to a File object.
The name of the file to check. Wildcard characters are not allowed; you must specify the actual file name.
If you specify a file without including its path, dBASE Plus looks for the file in the current directory, then in the search path(s) you specified with SET PATH, if any. If you specify a file without including its extension, dBASE Plus assumes no extension. If the named file cannot be found, an exception occurs.
accessDate( ) checks the file specified by <filename expC> and returns the date that the file was last opened by the operating system for reading or writing.
To get the date the file was last modified, use date( ). For the date the file was created, use createDate( ).