Jaa


VARIANT2TIME Function

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