Function FileDate() Foundation

Retrieves the date of a file.

Syntax
FileDate( [<cFileName>]      , ;
          [<nFileAttributes>]  ;  // Default:  FA_NORMAL
        ) --> dFileDate
Return

Returns the date of the specified file or an empty date in case of an error.

Description

<cFileName>

The parameter defaults to the name of the last file found with FileSeek().

<nFileAttributes>

File attributes are numeric values corresponding to #define constants found in XBTDISK.CH

FA_NORMAL

FA_READONLY

FA_HIDDEN

FA_SYSTEM

FA_DIRECTORY

FA_ARCHIVE

Multiple attributes are specified by adding the corresponding constants.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.