Sign in Join
FPDoc Onlineexperiment

VarToDateTime function

In unit Variants

Convert a variant to datetime value.

Declaration

pascal
function VarToDateTime(const V: Variant): TDateTime

Arguments

V

Variant to convert.

Function result

Variants as date/time value.

Description

VarToDateTime attempts to convert the variant V to a TDateTime value.

Errors

If the value is Null, an exception is raised.

See also

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