> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-bugfix-ty-screen-designer-paradox.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Select Date

> Select Date

This element is used to input a [Date][1].

## Configuration

| Setting   | Description                          |
| :-------- | :----------------------------------- |
| mayBeNull | Whether the field is required (Bool) |
| empty     | Whether the field is required (Bool) |

## Functions

### setValue(String date)

Sets the selected `Date`. The value must be formatted in a standard way, for example, YYYY-MM-DD.

### toString()

Returns the date as a string formatted as **YYYY-MM-DD**.

[1]: ../../../automation/crmscript/datatypes/date-type
