DAYNAME(date) returns the name of the weekday for date : DAYNAME « Date Time Functions « MySQL Tutorial






The language used for the name is controlled by the value of the lc_time_names system variable.

mysql>
mysql> SELECT DAYNAME('1998-02-05');
+-----------------------+
| DAYNAME('1998-02-05') |
+-----------------------+
| Thursday              |
+-----------------------+
1 row in set (0.00 sec)








14.13.DAYNAME
14.13.1.DAYNAME(date) returns the name of the weekday for date
14.13.2.SELECT DAYNAME('2000-01-01');
14.13.3.DAYNAME('2006-05-00');
14.13.4.Get DAYNAME of employee's start date