Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Creates a variant that contains an encapsulation of a COM VT_DATE.
Syntax
Variant := DATI2VARIANT(Date, Time)
Parameters
Date
Type: Date
The input date.
Time
Type: Time
The input time.
Property Value/Return Value
Type: Variant
Example
This example requires that you create the following variables.
| Name | DataType |
|---|---|
| TestDate | Date |
| TestTime | Time |
| Variant1 | Variant |
TestDate := TODAY;
TestTime := TIME;
Variant1 := DATI2VARIANT(TestDate, TestTime);
See Also
Variant Data Type
Date and Time Functions
Using COM Technologies in Microsoft Dynamics NAV