From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Class (inherits from DesktopUIControl)

New in 2021r3

Displays the date, time or both so the user can select a date/time value.

Closing DropObject MouseEnter
ConstructContextualMenu FocusLost MouseExit
ContextualMenuItemSelected FocusReceived MouseMove
DateChanged KeyDown MouseUp
DragEnter KeyUp MouseWheel
DragExit MouseDown Opening
DragOver MouseDrag
Active fa-lock-32.png Left Scope fa-lock-32.png
AllowAutoDeactivate LockBottom SelectedDate
AllowTabStop LockLeft TabIndex
DisplayMode LockRight TodayButtonCaption
DisplaySeconds LockTop Tooltip
Enabled MaximumDate Top
GraphicalDisplay MinimumDate Transparent
Handle fa-lock-32.png MouseCursor Visible
Height Name fa-lock-32.png Width
HourMode PanelIndex Window fa-lock-32.png
Index fa-lock-32.png Parent
DisplayModes HourModes


On macOS and Windows, the DesktopDateTimePicker displays time in the format chosen by the user in their system preferences.


Desktop projects on Linux, macOS and Windows.

See Also

DateTime class.