Date.ShortDate
From Xojo Documentation
This item was deprecated in version 2019r2. Please use DateTime.ToString as a replacement. |
Read-Only Property (As String )
Reports the date in the user's short date format as a string based on the user's locale and formatting even if the user's locale is a Unicode-only locale.
Notes
For example (US format): 12/31/97. The ShortDate format uses the Short format on both Windows and Mac. Changing this format changes the format that the ShortDate property uses.
Sample Code
The following code displays today's date in the ShortDate format.