Syntax
DAYNAME(date)
Purpose
DAYNAME() returns the name of the weekday corresponding to a date.
Examples
obclient> SELECT DAYNAME('2022-09-08');
+-----------------------+
| DAYNAME('2022-09-08') |
+-----------------------+
| Thursday |
+-----------------------+
1 row in set