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.
Gets a time from a variant.
Syntax
Time := VARIANT2TIME(Variant)
Parameters
Variant
Type: Variant
The input variant.
Property Value/Return Value
Type: Time
The resulting time.
Example
This example requires that you create the following variables.
| Name | DataType |
|---|---|
| TestTime | Time |
| variant1 | Variant |
variant1 := TIME;
TestTime := VARIANT2TIME(variant1);
See Also
Variant Data Type
Date and Time Functions
Using COM Technologies in Microsoft Dynamics NAV