Important
New database features are no longer connected to engine versions; features are now enabled independently during scheduled update windows, and “major” and “minor” releases no longer exist in Helios. Please visit the release notes to view the latest features available in your database clusters.
DAYNAME
On this page
The DAYNAME() function extracts the name of the day of the week from a date.
Syntax
DAYNAME (dateobj)Arguments
-
dateobj: a valid date, datetime, or parsable date string.
Return Type
String.
Examples
SELECT DAYNAME('2014-04-18');
+-----------------------+
| DAYNAME('2014-04-18') |
+-----------------------+
| Friday |
+-----------------------+Last modified: