CURDATE()
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 current date as a 'YYYY-MM-DD' when used in a string context or as YYYYMMDD when used in a numeric context.
EXAMPLES
SELECT CURDATE();
+------------+
| CURDATE() |
+------------+
| 2020-10-13 |
+------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.