Utilities.FileDateToDateTime Method

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

Description

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.

Declaration

Utilities.FileDateToDateTime(FileDate)

FileDate [in]    Required    Integer    
Result Variant

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

FileDate

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

Result Value

The Variant value storing the converted date and time.

Remarks

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