Utilities.FileDateToDateTime Method

Applies to TestComplete 15.10, last modified on December 01, 2021
This method is obsolete. See the Remarks section below.


The Utilities.FileDateToDateTime method converts an integer value that stores the date and time file attributes to a Variant value storing the date and time. For example, you can use FileDateToDateTime to convert the file’s date and time attributes that are returned by the FileAge and FileGetDate functions.



FileDate [in]    Required    Integer    
Result Variant

Applies To

The method is applied to the following object:


The method has the following parameter:


Specifies the integer value to be converted to a Variant value.

Result Value

The Variant value storing the converted date and time.


This method is obsolete. It is supported for backward compatibility only.

See Also

Working With Dates
GetLastWriteTime Method
DateLastModified Property
TSearchRec Object

Highlight search results