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