mariadb date functions code example Example: mariadb date equals to current_date plus days SELECT CURRENT_DATE - INTERVAL 30 DAY