Utilities.DateTimeToFileDate Method

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


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.



DateTime [in]    Required    Variant    
Result Integer

Applies To

The method is applied to the following object:


The method has the following parameter:


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

Result Value

The specified date and time stored as an integer value.


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