Thank you Ray. I have sorted out the SQL syntax (SELECT ads.updated, ads.expires FROM ads WHERE DATE_ADD(ads.updated, INTERVAL 10 DAY) > CURDATE() AND expires>CURDATE());) It is working in recordset advanced panel.
However, I do not know what to do with it.
I created search and result pages. I added recordsets on both pages. I applied search wizard to the result page. But I do not know how to insert dynamic filed for INTERVAL 10 DAY, instead of number 10, like INTERVAL [dynamic filed] DAY.
How could I get the value from the search field. Could you please help me?