In MySQL, the CURRENT_DATE
function can be used to return the current date.
Actually, this function is a synonym for CURDATE()
which returns the current date (so you can choose which one you prefer).
Both functions return the current date as a value in ‘YYYY-MM-DD’ or YYYYMMDD format, depending on whether the function is used in a string or numeric context.