> This page is for version Scripted.
> For other versions, use one of these documentation indexes:
> - Generative (default): https://developers.ada.cx/generative/llms.txt
> - Scripted: https://developers.ada.cx/scripted/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.ada.cx/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.ada.cx/_mcp/server.

# Let chatters select dates using the Date Picker app

## Overview\[#UUID-a6fc435a-d4b2-aa0c-425b-984fa4b9663a_id_1500011178022_id_h_01F5ZX8VH412DC20WX7HV8Q3C6]

The Date Picker app presents chatters with an interactive calendar and
prompts them to select a date. The date they select is saved as a
variable. The interactive calendar lets your chatters benefit from an
intuitive interface, and provides you with a date in a standardized
format.

![](/_fern-files/_img/5b6476ec5e0295a06707a3ad3edd35f094cca0ae83d51f90409617dd4e826ad5.webp)![](/_fern-files/_img/fc3cceed874d18f1dcc4302439d84a5e53dde206efd427e6def95bf6d4f22a44.webp)

## Use the Date Picker app\[#UUID-a6fc435a-d4b2-aa0c-425b-984fa4b9663a_id_1500011178022_id_h_01F5ZX919N6N2ZH6RG20XT242V]

Add the Date Picker to your Answers at the point where you want your
chatters to choose a date. When the chatter encounters the Date Picker
block, they see an easy to use calendar graphic from which they can
select a date. Each instance of the Date Picker in your Answer creates a
single variable with a single date. Add a separate Date Picker block for
each additional date you wish to capture from your chatters.

***Example:*** *You wish to capture a date range from your chatter. Use
one Date Picker block to capture the start date for the range. Use a
second Date Picker block to capture the end date.*

### Configure the Date Picker block\[#UUID-a6fc435a-d4b2-aa0c-425b-984fa4b9663a_id_1500011178022_id_h_01F5ZX96K6HS883T4BM400G2RS]

![](/_fern-files/_img/962585ec7c309d9400712073f8af49cea942eb0a11005bb960d45ed9c2046082.webp)

1. On the Ada dashboard, go to **Build** > **Answers** and select an
   Answer to edit or create a new one.

2. Open the block drawer and drag and drop the **Date Picker block**
   into the Answer editor.

3. Customize the **Message Text**, **Button Label**, and **Invalid
   Response** for your use case.

4. Click the **Configuration** drop-down menu and select an option from
   the list. Use the following table as a guide when configuring your
   option.

   <table>
     <tbody>
       <tr>
         <td>
           **Date Format**
         </td>

         <td>
           Adds a Date Format Field.

           * Use the Date Format field to customize the format for the
             captured date. See the Date Formatting Guide for help with formatting
             syntax.

           *Format Examples*

           * YYYY-MM-DD — 2021-05-18 (default format)
           * MM-DD-YYYY — 05-18-2021
           * dddd, MMMM Do YYYY — Tuesday, May 18th 2021
           * dddd \[the] Do \[of] MMMM — Tuesday the 18th of May
         </td>
       </tr>

       <tr>
         <td>
           **Start Date/End Date**
         </td>

         <td>
           Adds a Start/End Date field.

           * Use these fields to set the earliest and latest dates in a date
             range that the chatter can choose from.
           * Format Dates as YYYY-MM-DD, or use a supported phrase to set a
             date relative to today.

           *Supported Phrases*

           * Today
           * Tomorrow
           * Yesterday
           * (x) days before
           * (x) days after
           * (x) weeks before
           * (x) weeks after
         </td>
       </tr>
     </tbody>
   </table>

5. Click the **Save Response as Variables** drop-down and select your
   desired formats for the date selected by the chatter. The block
   reveals:

   * *Selected Date* — 2021-05-18

   * *Selected Date - Localized* — May 18, 2021

6. Click **Choose a Variable** set a variable to capture each selected
   date format.

7. Click **Save**.

You're done! Your Date Picker block is now configured to show your
chatters an easy to use calendar for selecting dates.

---

Have any questions? Contact your Ada team, or email us at [](<mailto:help@ada.support%20%E2%80%9CHelp Docs inquiry%E2%80%9D>).