Unit 'Variants' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

VarFromDateTime

Create variant from TDateTime value.

Declaration

Source position: variants.pp line 102

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: Oct 27 2024