> For the complete documentation index, see [llms.txt](https://docs.formsort.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.formsort.com/adding-questions-and-content/question-reference/date.md).

# Date

A date picker.

This question type is commonly used for getting a responder's date of birth or their preference for when an event should take place.&#x20;

The answer to a date question is stored as [Formsort subtype](/response-data-collection-and-management/variable-schema.md#subtypes) date and are always formatted as [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601).&#x20;

## **Limiting answers to a specific timeframe**

You can force the responder to pick dates in the future or in the past by enabling the **Only allow dates in the past?**  or **Only allow dates in the future?**  options. This way you can ensure that your responder's birthdates are not in the future or they do not accidentally schedule an event in the past.

## **Allowing multiple answers**

Enabling **allow multiple answers** lets the respondent pick more than one date as an answer to a question.&#x20;

## Date picker styling options

The date picker menu can either be native to the platform the respondent is using (e.g. using Google’s date picker on Chrome) or can inherit from the [dropdown menu styling](/styling/customizing-appearance/dropdown-menu.md).

In order to change the styling of the date picker, you can go to the style tab with the question selected.

## Setting a date answer with URL parameters

Answers for the date component can be passed in via [URL parameter](/importing-data/url-parameters.md), with the format as `YYYY-MM-DD`. For example, if you want to pass in the `appointment_date` answer "Apr 25 2023", append `?appointment_date=2023-04-25` to the flow URL.<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.formsort.com/adding-questions-and-content/question-reference/date.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
