Das Mariadb -Datum entspricht Current_date plus Days
SELECT CURRENT_DATE - INTERVAL 30 DAY
Matteoweb
SELECT CURRENT_DATE - INTERVAL 30 DAY