MySQL MONTHNAME() Function Last Updated : 21 Jun, 2024 Comments Improve Suggest changes Like Article Like Report The MySQL MONTHNAME() function returns the month name for the given date. It returns the month name between January and December or 0 if month part for the date is 0 or greater than 12. SyntaxMONTHNAME function syntax is: MONTHNAME(date)Parameter: This MONTHNAME() function accepts one parameter as mentioned above and described below : date: The date or datetime from which we want to extract the month name.MySQL MONTHNAME() Function ExamplesLet's look at some examples of the MONTHNAME function in MySQL. Example 1Finding the Current Month name Using MONTHNAME() Function. SELECT MONTHNAME(NOW()) AS Current_Month;Output : Current_MonthNovemberExample 2Finding the Month name from given datetime Using MONTHNAME() Function. SELECT MONTHNAME('2015-01-26 08:09:22') AS MONTHNAME;Output : MONTHNAMEJanuaryExample 3Finding the Month name from given datetime Using MONTHNAME() Function when the date is NULL. SELECT MONTHNAME(NULL) AS MONTHNAME;Output : MONTHNAMENULL Comment More infoAdvertise with us Next Article MySQL MONTHNAME() Function J jana_sayantan Follow Improve Article Tags : SQL DBMS-SQL mysql Similar Reads MONTH() function in MySQL MySQL MONTH() function returns the month from the given date. It returns a month value between 1 and 12 or returns 0 when the month part of the date is 0. It's a useful SQL function for date manipulation and analysis, particularly when dealing with reports or queries that require month-based groupin 3 min read MONTH() Function in SQL Server MONTH() function : This function in SQL Server is used to return the month of the year i.e, from 1 to 12 for a date stated. Features : This function is used to find the month of the year for a date specified. This function comes under Date Functions. This function accepts only one parameter i.e, dat 2 min read PLSQL | ADD_MONTHS Function The PLSQL ADD_MONTHS function is used to return a date with a specified number of months added to it. The ADD_MONTHS function accepts two parameters which are the initial date and the number of months to be added to it. The ADD_MONTHS function returns a value of the date data type. The date argument 2 min read MAKEDATE() function in MySQL MAKEDATE() : This function in MySQL is used to create and return a date based on a year and a number of days value. The number of days must be greater than 0 otherwise it returns a NULL value. Syntax : MAKEDATE(year, day) Parameter : This function accepts two parameters as given below as follows. ye 2 min read DAY() Function in MySQL DAY() function : This function in MySQL is used to return the day of the month for a specified date (a number from 1 to 31). This function equals the DAYOFMONTH() function. Syntax : DAY(date) Parameter : This method accepts a parameter which is illustrated below : date : Specified date to extract th 1 min read Like