Javatpoint Logo
Javatpoint Logo

MySQL DAYNAME() Function

The dayname() is a MySQL date/time function. It is used to get the name of the day from the given date.

Syntax

Parameter:

date_name: date for getting name of day.

Returns

This function returns the weekday name for a date.

Example 1

Output:


MySQL DAYNAME() Function

Example 2

Output:


MySQL DAYNAME() Function
Next TopicMySQL date/time




Help Others, Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA