Gets a time from a variant.
| Time := VARIANT2TIME(Variant) | 
Parameters
- Variant
- Type: Variant The input variant.
 Property Value/Return Value
Property Value/Return Value
Type: Time
The resulting time.
 Example
Example
This example requires that you create the following variables.
| Name | DataType | 
|---|---|
| TestTime | Time | 
| variant1 | Variant | 
|  Copy Code | |
|---|---|
| variant1 := TIME; TestTime := VARIANT2TIME(variant1); | |





