mysql> select DATE_FORMAT(Current_Timestamp, '%c %d %Y') from dual;
+--------------------------------------------+
| DATE_FORMAT(Current_Timestamp, '%c %d %Y') |
+--------------------------------------------+
| 2 12 2013 |
+--------------------------------------------+
1 row in set (0.01 sec)
mysql>
Of course you would use your daily table.
mysql> select DATE_FORMAT(Date, '%c %d %Y') from daily;
or maybe you want
mysql> select * from daily group by DATE_FORMAT(Date, '%c %d %Y');
source
share