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

# MONTH

> The MONTH function extracts the month from a given time object. It supports multiple scenarios such as form processing and workflow design. The return value is an integer between 1 and 12, representing the month of the year.

The **MONTH** function returns the month of a selected time.

## Supported Product Scenarios

The MONTH 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 and automation
* Workflow nodes
* Connector

## Format

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

## Attribute Description

| **Attribute** | **Required** | **Description**  |
| ------------- | ------------ | ---------------- |
| date          | Yes          | The time object. |

## Return Value

| **Return type** | **Description**                                 |
| --------------- | ----------------------------------------------- |
| Number          | The month of the date. Allowed values: 1 to 12. |

## Example

As shown in the following figure, use the `MONTH()` function to extract the month from a time selected by the user.

## Try It Out

Returns the month of a given date, as an integer between 1 and 12.
