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


MySQL TUTORIALS » Date Time Functions » DATE »

 

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


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

mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Date Time Functions
» DATE