This method is obsolete. See the Remarks section below. |
Description
Use the Utilities.FileAge
method to get the OS timestamp of the specified file. The function returns the date and time as an integer value. To convert it to a Variant value storing the date and time, use the FileDateToDateTime
method.
Declaration
Applies To
The method is applied to the following object:
Parameters
The method has the following parameter:
FileName
Specifies the file whose OS timestamp you want to get.
Result Value
An integer value storing the OS timestamp of the specified file. If the specified file does not exist, the function returns -1.
Remarks
This method is obsolete. It is supported for backward compatibility only. To get the file’s timestamp, use the aqFile.GetLastWriteTime
or aqFileInfo.DateLastModified
method.
See Also
aqFile.GetLastWriteTime Method
DateLastModified Property
aqFile.GetLastAccessTime Method
DateLastAccessed Property
aqFile.GetCreationTime Method
DateCreated Property