Don't need to convert to timestamp. Mysql will handle dates directly without this unnecessary conversion.
-----Original Message----- From: James E. Hicks III [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 7:31 AM To: ROBERT MCPEAK; [EMAIL PROTECTED] Subject: RE: [PHP] date expressions Convert it to timestamp and then compare or if the date's in a mysql database let mysql handle the comparison for you. James -----Original Message----- From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 8:25 AM To: [EMAIL PROTECTED] Subject: [PHP] date expressions How do I compare a date (2002-05-01) against a date plus 5 days? I need help figuring out how to do math operations on dates, etc. Could somebody fill this newbie in? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php