DATE(expr) Extracts the date part of the date or datetime expression expr. : DATE « Date Time Functions « MySQL Tutorial






mysql>
mysql> SELECT DATE('2003-12-31 01:02:03');
+-----------------------------+
| DATE('2003-12-31 01:02:03') |
+-----------------------------+
| 2003-12-31                  |
+-----------------------------+
1 row in set (0.00 sec)

mysql>








14.8.DATE
14.8.1.DATE(expr) Extracts the date part of the date or datetime expression expr.