RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variants.VarFromDateTime Function

Returns a variant containing a specified data and time.

Pascal
function VarFromDateTime(const DateTime: TDateTime): Variant;
C++
Variant VarFromDateTime(const TDateTime DateTime);

Variants

VarFromDateTime returns a Variant that represents the date and time of the given TDateTime value, DateTime. The type code of the resulting variant is varDate. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!