Read this : http://www.mysql.com/doc/D/a/Date_calculations.html
Regards, Andrey Hristov ----- Original Message ----- From: "Jeff Lewis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 05, 2001 7:19 PM Subject: [PHP] Qukc days to time() conversion? I am prompting users for a number of days and then wanting to pull items from a database older than the number of days. All dates are stored as timestamps in the database so wondering how I can come up witht he required timestamp to compare with? (for for example 30 days). I have a difference conversion between the two timestamps but don't have it to that I can find the timestamp to search on... Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]