---
title: UIDatePicker.Mode.dateAndTime
framework: uikit
role: symbol
role_heading: Case
path: uikit/uidatepicker/mode/dateandtime
---

# UIDatePicker.Mode.dateAndTime

A mode that displays the date as unified day of the week, month, and day of the month values, plus hours, minutes, and (optionally) an AM/PM designation. The exact order and format of these items depends on the locale set. An example of this mode is “Wed Nov 15 | 6 | 53 | PM”.

## Declaration

```swift
case dateAndTime
```

## See Also

### Constants

- [UIDatePicker.Mode.time](uikit/uidatepicker/mode/time.md)
- [UIDatePicker.Mode.date](uikit/uidatepicker/mode/date.md)
- [UIDatePicker.Mode.yearAndMonth](uikit/uidatepicker/mode/yearandmonth.md)
- [UIDatePicker.Mode.countDownTimer](uikit/uidatepicker/mode/countdowntimer.md)
