# Date picker

<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

A date picker allows you to select a date in an app card. Use it to set deadlines, or log events. The app captures the selected date for further actions.

## Example

![Example](/img/datepicker-appcard.png)

## JSON example

```json
{
    "content": {
        "settings": {},
        "body": [
            {
                "type": "section",
                "layout": "horizontal",
                "sections": [
                    {
                        "type": "message",
                        "text": "This is a section block with datepicker"
                    },
                    {
                        "type": "datepicker",
                        "action_id": "datepicker_action",
                        "initial_date": "2010/10/10"
                    }
                ]
            }
        ]
    }
}
```
