I have a date stored in a table called grids in a field called g_date_created. It's stored as a unix timestamp. I want to select all rows from grids that have a g_date_created plus X numbers of days between a certain time range.
For example:
Select * FROM grids
WHERE g_date_created + 3 days BETWEEN timestamp_1 AND timestamp_2