If using MySQL, check the manual for DATE_ADD or DATE_SUBTRACT
I like the alternate form, using + and - signs
I can't really figure out what you're trying to do, so here's some basics:
SELECT NOW() + INTERVAL 1 DAY
will return this time tomorrow
Here's the sort of thing you're trying to do, I think
SELECT (IF(myTimestamp + INTERVAL myInterval DAY>NOW(), 'This record is less than myInterval old', 'This record is more than myInterval old')
FROM myTable
If you want to be more precise about what you mean for your query to do, I'll be more able to help you with a query.