> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/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


## Related topics

- [Dynamic date range as criteria](/en/api/search/find-selection/date-range-as-criteria.md)
- [Formatting date and time](/integrations/zapier/howto/datetime.md)
- [Operators and data types](/en/api/search/find-selection/operators.md)
- [Date](/en/automation/crmscript/reference/CRMScript.Global.Date.md)
- [Use board view in selections](/en/search-options/selection/learn/board-view.md)
- [SelectionDynamicContactProvider](/en/api/archive-providers/reference/selectiondynamiccontactprovider.md)
- [Dates](/en/api/search/odata/date.md)
