System.Variants.VarFromDateTime

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function VarFromDateTime(const DateTime: TDateTime): Variant;

C++

extern DELPHI_PACKAGE System::Variant __fastcall VarFromDateTime(const System::TDateTime DateTime);

Properties

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

Description

Returns a variant containing a specified data and time.

VarFromDateTime returns a Variant that represents the date and time of the given TDateTime value, DateTime. The type code of the resulting variant is varDate.

See Also