![A screenshot of the WordPress Gutenberg component "DateTimePicker".](https://wp-gb.com/wp-content/uploads/2021/01/component-DateTimePicker.png)
User can pick both time and date. Can also be used as only a TimePicker or a DatePicker.
<DateTimePicker
currentDate={ new Date() }
onChange={ ( date ) => console.log(date) }
// is12Hour
/>
Has a prop where the time can be a 12 hour clock instead of 24 hour clock.