Gets a time from a variant.

Time := VARIANT2TIME(Variant)

Parameters

Variant

Type: VariantThe 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

  Copy Code
variant1 := TIME;
TestTime := VARIANT2TIME(variant1);

See Also