[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Variants' (#rtl)

VarFromDateTime

Create variant from TDateTime value.

Declaration

Source position: variants.pp line 95

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

varToDateTime

  

Convert a variant to datetime value


Documentation generated on: May 14 2021