> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/server/reference/sql-functions/date-time-functions/monthname.md).

# MONTHNAME

## Syntax

```bnf
MONTHNAME(date)
```

## Description

Returns the full name of the month for date. The language used for the name is controlled by the value of the [lc\_time\_names](/docs/server/server-management/variables-and-modes/server-system-variables.md#lc_time_names) system variable. See [server locale](/docs/server/reference/data-types/string-data-types/character-sets/internationalization-and-localization/server-locale.md) for more on the supported locales.

## Examples

```sql
SELECT MONTHNAME('2019-02-03');
+-------------------------+
| MONTHNAME('2019-02-03') |
+-------------------------+
| February                |
+-------------------------+
```

Changing the locale:

```sql
SET lc_time_names = 'fr_CA';

SELECT MONTHNAME('2019-05-21');
+-------------------------+
| MONTHNAME('2019-05-21') |
+-------------------------+
| mai                     |
+-------------------------+
```

<sub>*This page is licensed: GPLv2, originally from*</sub> [<sub>*fill\_help\_tables.sql*</sub>](https://github.com/MariaDB/server/blob/main/scripts/fill_help_tables.sql)

{% @marketo/form formId="4316" %}
