From Xojo Documentation
| This item was deprecated in version 2019r2.
Please use DateTime.SQLDate as a replacement.
Read-Only Property (As String )
Gets and sets the date in SQL date format, YYYY-MM-DD. Passing a bad string will result in an UnsupportedFormatException.
This is an example for a SQL date: 2008-09-03
The following code displays the SQLDate value for the current date.