# Date & Time Pickers

## 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&#x26;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&#x26;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&#x26;token=113d0519-024b-4ea5-9878-5a7bb87c9e0c" alt=""></div>

### Output Parameter

Showing the Date Picker is an exception to using the [ExtensionHelper](https://jolzee.gitbook.io/leopard/components/broken-reference). 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&#x26;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&#x26;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
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://jolzee.gitbook.io/leopard/components/date-and-time-pickers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
