> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# TODAY

> The TODAY function returns today's date across various YiDA scenarios, including Forms, workflow design, and integration & automation. It returns a Date object representing the current date, suitable for use cases such as field assignment and validation rules.

The **TODAY** function returns today's date.

## Supported Scenarios

The TODAY function is supported in the following YiDA scenarios:

* Form (main table fields)
* Form (business association rules)
* Form (validation)
* Workflow design (validation rules)
* Workflow design (association actions)
* Integration & automation
* Workflow node
* Connector

## Syntax

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
TODAY()
```

## Return Value

| **Return type** | **Description**                                      |
| --------------- | ---------------------------------------------------- |
| Date object     | A Date object representing the current date (today). |

## Example

As shown below, use the `TODAY()` function to assign the current date to a **Date component**.

## Try It Out

Returns today's date.
