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