Working with dates in mySQL is a pleasure..
Pull new records in last hour..
SELECT * FROM table_name WHERE timestamp > NOW() - INTERVAL 1 HOUR
Pull records in last week..
SELECT * FROM table_name WHERE timestamp > NOW() - INTERVAL 7 DAY
The timestamp field should be a "TIMESTAMP" type, though I think those functions work with any date type (though I'm not positive).
You can format timestamp dates either in php or at the mySQL level i.e.:
SELECT DATE_FORMAT(NOW(),'%Y/%m/%d')
would return 2002/04/27
Put "date" into the search over at mysql.com, and "Date/Time functions" will be one of the search results. You'll find all the details there.