Utilities.DateTimeToFileDate Method

Applies to TestComplete 14.40, last modified on April 22, 2021
This method is obsolete. See the Remarks section below.

Description

The Utilities.DateTimeToFileDate method converts a variant value that stores date and time to an integer value used by functions working with files (e.g. by FileSetDate) to set or check the file date.

Declaration

Utilities.DateTimeToFileDate(DateTime)

DateTime [in]    Required    Variant    
Result Integer

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

DateTime

Specifies the variant value that stores the desired date and time.

Result Value

The specified date and time stored as an integer value.

Remarks

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

See Also

Working With Dates
Today Method
Now Method
SetLastWriteTime Method
SetLastWriteTime Method
FindFiles Method
TSearchRec Object

Highlight search results