> For the complete documentation index, see [llms.txt](https://jolzee.gitbook.io/leopard/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jolzee.gitbook.io/leopard/components/date-and-time-pickers.md).

# Date & Time Pickers

These components capture user input. They are displayed inline as an icon within the chat message response. Clicking the icon opens up the full component in the middle of the page.

## Date Picker

### Format

If you need to capture a date you can present the option to display a date picker to the user. The format of the date is currently `dd month yyyy`

<div align="left"><img src="https://4062709520-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La71Iy76rotlqbCOWoQ%2F-LaH3jrQ12tedGEvjGao%2F-LaH4A1-2aYKyMm0p2NK%2Fdate-picker-format.jpg?alt=media&amp;token=34022062-aad0-4029-83ac-33fb5f069639" alt="Date Format"></div>

### Screenshots

<div align="left"><img src="https://4062709520-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La71Iy76rotlqbCOWoQ%2F-M7TsxFVQ5SdYAWSNtmH%2F-M7Tt8lmCJDM7KaRV5Ya%2Fleopard-09.png?alt=media&amp;token=b7ec3b7f-4716-4200-b2c7-2d2bd6c7adef" alt=""></div>

<div align="left"><img src="https://4062709520-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La71Iy76rotlqbCOWoQ%2F-M7TsxFVQ5SdYAWSNtmH%2F-M7TtEmWcDn3B159zpIR%2Fleopard-06.png?alt=media&amp;token=113d0519-024b-4ea5-9878-5a7bb87c9e0c" alt=""></div>

### Output Parameter

Showing the Date Picker is an exception to using the [ExtensionHelper](broken://pages/-La72OY1sGrLcRJCQZT6). It doesn't rely on the Extension Helper.

```groovy
datePicker = true
```

## Time Picker

### Format

The time picker uses a 24 hour format so a selection of 4am would be `04:00` and 4:35 pm would be `16:35`

### Screenshots

<div align="left"><img src="https://4062709520-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La71Iy76rotlqbCOWoQ%2F-M7TsxFVQ5SdYAWSNtmH%2F-M7TtKTdNx50gYjARGq1%2Fleopard-11.png?alt=media&amp;token=41f8eab0-fb88-4eb9-b8e1-4ba8ec788098" alt=""></div>

<div align="left"><img src="https://4062709520-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La71Iy76rotlqbCOWoQ%2F-M7TsxFVQ5SdYAWSNtmH%2F-M7TtOVunZjgf_UMkGRM%2Fleopard-10.png?alt=media&amp;token=d7b97775-d03c-4ca7-a83b-b9dac2ce092f" alt=""></div>

### Output Parameter

Showing the Time Picker is an exception to using the ExtensionHelper. It doesn't reply on the Extension Helper.

```groovy
timePicker = true
```
