Content:
- Examples

A DatePicker in mobile UIs enables users to select dates using a visual calendar interface.

dtp = ui.showDatePicker( date, options, onSelect ) → ui object: DatePicker

### options Props
format: String. Moment date format. Default is "YYYY-MM-DD"
portrait: Boolean. Display the date picker in portrait view. Default is detective in the size of the screen.
future: String. The future value until which the dialog will render dates in the following format "YYYY-MM-DD"
past: String. The past until which the dialog will render dates in the following format "YYYY-MM-DD".

### Date formatting
DatePicker dialog uses moment js library, see https://momentjs.com/docs/ for more date formatting values.
Sample values are:
* "MMMM Do YYYY" :  December 13th 2023
"dddd" : Wednesday
"MMM Do YY": Dec 13th 23

Examples

Example - Default click to expand contents 

Example - With initial value and options object click to expand contents 

Example - Dark mode with date limits click to expand contents