Date Time MySQL

mysql>
mysql>
mysql> SELECT DAYNAME('2004-12-31 23:59:59');
+--------------------------------+
| DAYNAME('2004-12-31 23:59:59') |
+--------------------------------+
| Friday                         |
+--------------------------------+
1 row in set (0.00 sec)