Utilities.DateTimeToFileDate Method

Applies to TestComplete 14.10, last modified on June 5, 2019
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
aqDateTime.Today Method
aqDateTime.Now Method
aqFile.SetLastWriteTime Method
SetLastWriteTime Method
aqFileSystem.FindFiles Method
TSearchRec Object

Highlight search results