In MariaDB, CURRENT_DATE
and CURRENT_DATE()
are synonyms for CURDATE()
.
The CURDATE()
function is a built-in date and time function that returns the current date.
The date is returned in either 'YYYY-MM-DD'
or YYYYMMDD
, depending on whether the function is being used in a string or numeric context.