System.Variants.VarToDateTime

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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