In MariaDB, ADDDATE()
is a built-in date and time function that performs date arithmetic.
It allows you to change a date by specifying the date, the unit to add, and the amount to add. You can pass a negative amount if you need to subtract the date by a certain interval.
ADDDATE()
also has a shortcut syntax that allows you to add a given number of days to the date.