# DateTimePicker

Xojo provides a <span class="title-ref">DateTimePicker</span> control for desktop, mobile and web projects:

- `DesktopDateTimePicker</api/user_interface/desktop/desktopdatetimepicker>`
- `MobileDateTimePicker</api/user_interface/mobile/mobiledatetimepicker>`
- `WebDatePicker</api/user_interface/web/webdatepicker>`

<div class="note">

<div class="title">

Note

</div>

For the web, the picker is date-only.

</div>

## Common members

These events and properties are both common amongst the desktop, mobile and web versions of the control and are the most commonly used. See the individual controls for more members and details.

### Events

| Name        | Description                                          |
|-------------|------------------------------------------------------|
| DateChanged | The date selected (or time if included) has changed. |

### Properties

| Name        | Description                                            |
|-------------|--------------------------------------------------------|
| DisplayMode | Dictates how the date and/or time should be displayed. |
| MaximumDate | The latest date that can be selected.                  |
| MinimumDate | The earliest date that can be selected.                |

<div class="seealso">

`DesktopDateTimePicker</api/user_interface/desktop/desktopdatetimepicker>`, `MobileDateTimePicker</api/user_interface/mobile/mobiledatetimepicker>` and `WebDatePicker</api/user_interface/web/webdatepicker>`

</div>
