DateTime.FormatStyles
From Xojo Documentation
Enumeration
These are the various styles that can be used to convert a Date to String with the ToString method.
Values
Enum | Description |
---|---|
Short | The short date or time format:
|
Medium | The medium date or time format:
|
Long | The long date or time format:
|
Full | The full date or time format:
|
None | Prevents the date or time value from displaying. |
Notes
The samples shown above are the typical default settings. The specific formats are defined in the locale settings for your OS:
- iOS: Settings, General, Language & Region
- Mac: Language & Region System Preference
- Windows: Time & Language setting
- Linux: varies by distribution