mysql get month name from datetime code example Example: mysql month name extract SELECT MONTHNAME(column_date,’%m’)) as monthname from tablename;