VarFromDateTime

Create variant from TDateTime value.

Declaration

Source position: variants.pp line 95

  function VarFromDateTime(const DateTime: TDateTime) : Variant;

Description

VarFromDateTime creates a variant with type varDate and value DateTime.

Errors

None.

See also

Name Description
varToDateTime Convert a variant to datetime value