System.Variants.VarToDateTime

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function VarToDateTime(const V: Variant): TDateTime;

C++

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

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.Variants.pas
System.Variants.hpp
System.Variants System.Variants

Description

Convertit le variant spécifié en une valeur TDateTime.

La fonction VarToDateTime convertit le variant donné en une valeur TDateTime. VarToDateTime déclenche une exception si la conversion échoue.

Voir aussi