> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# monthname

> Returns the name of the month for a given date.

Returns the name of the month for a given date.

The `date` parameter must be of the DATE or DATETIME type.

## Syntax

```Haskell theme={null}
VARCHAR MONTHNAME(date)
```

## Examples

```Plain Text theme={null}
MySQL > select monthname('2008-02-03 00:00:00');
+----------------------------------+
| monthname('2008-02-03 00:00:00') |
+----------------------------------+
| February                         |
+----------------------------------+
```

## keyword

MONTHNAME, monthname


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.