MySQL Forums
Forum List  »  Newbie

Re: Selecting all data of a specific date from mysql datetime
Posted by: Barry Galbraith
Date: January 22, 2015 06:51PM

http://dev.mysql.com/doc/refman/5.6/en/date-and-time-functions.html#function_date

mysql> select now(), DATE(now());
+---------------------+-------------+
| now()               | DATE(now()) |
+---------------------+-------------+
| 2015-01-23 11:33:14 | 2015-01-23  |
+---------------------+-------------+
1 row in set (0.04 sec)

????

Good luck,
Barry.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.