bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MySQL DAYNAME() Function

Example

SELECT DAYNAME("2017-06-15");

Definition and Usage

The DAYNAME() function returns the weekday name for a given date.

Syntax

DAYNAME(
date
)

Parameter Values

ParameterDescription
dateRequired. The date to extract the weekday name from

Technical Details

Works in:From MySQL 4.0

Previous

MySQL DAY() Function

Next

MySQL DAYOFMONTH() Function