Query | Run |
---|---|
SELECT DATE_FORMAT(NOW() - INTERVAL 2 YEAR,"%Y%m%d%H%i%S"); | 6 years ago |
SELECT NOW() + INTERVAL 2 YEAR | 6 years ago |
NOW() + INTERVAL 2 YEAR | 6 years ago |
Query | Run |
---|---|
SELECT DATE_FORMAT(NOW() - INTERVAL 2 YEAR,"%Y%m%d%H%i%S"); | 6 years ago |
SELECT NOW() + INTERVAL 2 YEAR | 6 years ago |
NOW() + INTERVAL 2 YEAR | 6 years ago |