This tutorial explains how to use the MySQL MONTHNAME function with syntax and examples.
The MySQL MONTHNAME function returns the full name of the month for a date.
The syntax for the MONTHNAME function in MySQL is:
A date or datetime value from which to extract the full month name.
The MONTHNAME function can be used in the following versions of MySQL:
Let's look at some MySQL MONTHNAME function examples and explore how to use the MONTHNAME function in MySQL.
For example:
This last MONTHNAME example would display the month name for the current system date (current system date is returned by the CURDATE function).