System.DaTi2Variant(Date, Time) Method

Version: Available or changed with runtime version 1.0.

Creates a variant that contains an encapsulation of a COM VT\_DATE.

Syntax

Variant :=   System.DaTi2Variant(Date: Date, Time: Time)

Note

This method can be invoked without specifying the data type name.

Parameters

Date
 Type: Date
The input date.

Time
 Type: Time
The input time.

Return Value

Variant
 Type: Variant

System Data Type
Get Started with AL
Developing Extensions