> ## 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.

# WORKDAY

> The WORKDAY function calculates the date N business days after (or before) a specified date on the YiDA platform. It supports various scenarios such as Forms and workflow design. By setting the start time, the number of business days, and the excluded holidays, you can flexibly generate the required business date.

The **WORKDAY** function returns the date that is N business days after (or before) a specified date.

## Supported Product Scenarios

The WORKDAY function is supported in the following YiDA scenarios:

* Form (main table field)
* Form (business association rule)
* Form (validation)
* Workflow design (validation rule)
* Workflow design (association action)
* Workflow node
* Connector

## Format

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
WORKDAY(start_time,days,holidays)
```

## Attribute Description

| **Attribute** | **Required** | **Description**                                                                                                                                                                                                                                                                        |
| ------------- | ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| start\_time   | Yes          | The timestamp of the start time. You can directly use the value of a date component.                                                                                                                                                                                                   |
| days          | Yes          | The number of business days. The maximum supported value is 50,000. Values exceeding this limit are treated as 0.<br />**Note**: A positive value returns a date in the future. A negative value returns a date in the past. By default, a decimal value is treated as adding one day. |
| holidays      | No           | The dates to exclude from the calculation, in the format `yyyy-MM-dd`. You can specify multiple dates separated by commas (,).<br />For example, you can include statutory and non-statutory holidays for various provinces, cities, autonomous regions, or countries/regions.         |

## Return Value

| **Return value type** | **Description**                                                                                                              |
| --------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| timestamp             | The date that is N business days after (or before) a specified date. The value can be directly assigned to a date component. |

## Usage Example

As shown below, use the `WORKDAY()` function to calculate the point in time 15 business days later.
