System.Variants.VarToDateTime

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function VarToDateTime(const V: Variant): TDateTime;

C++

extern DELPHI_PACKAGE System::TDateTime __fastcall VarToDateTime(const System::Variant &V);

Properties

Type Visibility Source Unit Parent
function public
System.Variants.pas
System.Variants.hpp
System.Variants System.Variants

Description

Converts a specified variant to a TDateTime value.

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

See Also


Code Examples