Sign in Join
FPDoc Onlineexperiment

VarFromDateTime function

In unit Variants

Create variant from TDateTime value.

Declaration

pascal
function VarFromDateTime(const DateTime: TDateTime): Variant

Arguments

DateTime

TDateTime value to convert.

Function result

New variant with datetime value.

Description

VarFromDateTime creates a variant with type varDate and value DateTime.

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.