Friday 5 August 2016

DAYNAME: get day name of the date



DAYNAME(YYYY-MM-DD): takes a date and return the day name of the date.

mysql> SELECT DAYNAME("1989-5-06");
+----------------------+
| DAYNAME("1989-5-06") |
+----------------------+
| Saturday             |
+----------------------+
1 row in set (0.00 sec)








Previous                                                 Next                                                 Home

No comments:

Post a Comment