Mega Code Archive

 
Categories / MySQL / Date Time
 

Return the name of the day

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)