Gets a date from a variant.
| Date := VARIANT2DATE(Variant) | 
Parameters
- Variant
- Type: Variant The input variant.
 Property Value/Return Value
Property Value/Return Value
Type: Date
The resulting date.
 Example
Example
This example requires that you create the following variables.
| Name | DataType | 
|---|---|
| TestDate | Date | 
| variant1 | Variant | 
|  Copy Code | |
|---|---|
| variant1 := TODAY; TestDate := VARIANT2DATE(variant1); | |





