DATE()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Enterprise Server
Topics on this page:
Overview
Returns the date component of the given datetime expression.
EXAMPLES
SELECT DATE('2001-12-31 01:02:03');
+-----------------------------+
| DATE('2001-12-31 01:02:03') |
+-----------------------------+
| 2001-12-31 |
+-----------------------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.