RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variants.VarToDateTime Function

Converts a specified variant to a TDateTime value.

Pascal
function VarToDateTime(const V: Variant): TDateTime;
C++
TDateTime VarToDateTime(const Variant V);

VarToDateTime converts the given variant to a TDateTime value. VarToDateTime raises an exception if the conversion fails. 

 

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