VeloDB Cloud
SQL Manual
Functions
date-time-functions
dayname

dayname

Description

Syntax:

VARCHAR DAYNAME (DATE)

This function returns the day name corresponding to the date.

The parameter is of DATE or DATETIME type.

Example

mysql> select dayname('2007-02-03 00:00:00');
+--------------------------------+
| dayname('2007-02-03 00:00:00') |
+--------------------------------+
| Saturday                       |
+--------------------------------+

Keywords

DAYNAME