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

Variants

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

 

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