MONTHNAME(date)
SELECT MONTHNAME(‘2016-01-16') SELECT MONTHNAME(‘2016-01-16 00:00:00')
-> January (表示返回date的是当年第几月的英文名字)
The above is the detailed content of How to use the MONTHNAME function in MySQL. For more information, please follow other related articles on the PHP Chinese website!