Variant.DateValue

From Xojo Documentation

Read-Only Property (As Date )
DateValue = aVariant.DateValue

Supported for all project types and targets.

Returns the value of the Variant as a Date.

Notes

When retrieving the string value of a date, the string is returned in SQL date format: YYYY-MM-DD HH:MM.