Assume the table has a column called CREATED_DATE which stores the creation date. The following SQL make use of the DATEADD() function to select records which are created within the recent 10 days.
SELECT * FROM <YOUR TABLE> WHERE CREATED_DATE > DATEADD(day, -10, getdate())
We can use different unit in the datepart (The first argument in DATEADD()) as stated in the 2nd reference link below.
Done =)
Reference: