C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL DAYNAME() FunctionThe dayname() is a MySQL date/time function. It is used to get the name of the day from the given date. Syntaxselect dayname('date_name'); Parameter:date_name: date for getting name of day. ReturnsThis function returns the weekday name for a date. Example 1Select dayname('2018-09-25'); Output: Example 2Select dayname('2018-09-10'); Output:
Next TopicMySQL date/time
|