# MonthName

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

### Syntax

```
MonthName(date)
```

Function arguments:

|          |                                                                                                                         |
| -------- | ----------------------------------------------------------------------------------------------------------------------- |
| **date** | <p>The value or column to reference when evaluating the month component.</p><ul><li>Must be a datetime value.</li></ul> |

### Notes

* If the **date** argument references text or number data, use the [date](https://support.meetuma.ai/uma-knowledgebase/data-and-reporting/analytics-pro/functions/type-functions/date "mention") function to convert the value.

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

<figure><img src="https://files.readme.io/a4496fa-image.png" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.meetuma.ai/uma-knowledgebase/data-and-reporting/analytics-pro/functions/date-functions/monthname.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
