DAYNAME()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Xpand
Topics on this page:
Overview
Returns the name of the day of the week for the given date.
USAGE
DAYNAME(date)
Argument Name | Description |
|---|---|
| The date to evaluate |
DETAILS
DAYNAME() is a date-time function that returns name of the day of the week for the given date.
The return value is in the language configured in the locale-related system variables.
A NULL is returned if argument is NULL.
EXAMPLES
SELECT DAYNAME('2020-01-15');
+-----------------------+
| DAYNAME('2020-01-15') |
+-----------------------+
| Wednesday |
+-----------------------+
