how to get current date and interval of 2 dys in sql code example Example: mysql date equals to current_date plus days SELECT CURRENT_DATE - INTERVAL 30 DAY