> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://help.sigmacomputing.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://help.sigmacomputing.com/_mcp/server.

# MonthName

> Use the Sigma MonthName function to return the name of the month component from a specified datetime value.

The **MonthName** function returns the name of the month component from a specified datetime value.

## Syntax

```
MonthName(date)
```

Function arguments:

|          |                                                                                                                                                                      |
| :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **date** | The value or column to reference when evaluating the month component.- Must be a datetime value or column containing [date data](/docs/data-types-and-formats#date). |

## Notes

* If the **date** argument references text or number data, use the **[Date](/docs/date)** function to convert the value or column to the [date data type](/docs/data-types-and-formats#date).

## Examples

### Example 1

```
MonthName(Date("2023-05-04"))
```

Evaluates `2023-05-04` as a datetime value and returns `May` as the name of the month component.

### Example 2

```
MonthName([Order Date])
```

References the *Order Date* column and returns the name of the corresponding month component for each row.

![](https://fdr-prod-docs-files-public.s3.us-east-1.amazonaws.com/sigma.docs.buildwithfern.com/1b1d4b709217eabdb81591d5d872edae3f1d2a925f8b70dcf2408156ea15bee8/assets/docs-images/a4496fa-image.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA6KXJSKKNFOCF7G4B%2F20260914%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260914T214810Z&X-Amz-Expires=604800&X-Amz-Signature=4dda8a65b0ef600ce5c46b17f4ccdce3b83ddcdd8b0e8f797872e1c79b54a901&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject)

## Related resources

* [Month](/docs/month)