Loading lesson path
Concept visual
Start at both ends
Return the weekday name for a date:
SELECT DAYNAME("2017-06-15");The DAYNAME() function returns the weekday name for a given date.
date )
Required. The date to extract the weekday name from
From MySQL 4.0
Return the weekday name for a date: SELECT DAYNAME("2017-06-15 09:34:21");
Return the weekday name for the current system date:
SELECT DAYNAME(CURDATE());❮ MySQL Functions