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);

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!