Are you retrieving the stored date from a mySQL database? If so, you can
let mysql SELECT only those records that fit the tardy date criteria.
-Original Message-
From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 2:22 PM
To: [EMAIL PROTECTED]
Subject: [PHP] date
I'd like to compare today's date against a stored date, and then fire
some code based on the result.
Like.
if ($today's_date < stored_date+5 days)
then {blah}
Can somebody clue this newbie in on how to do this?
-Bob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: ht
2 matches
Mail list logo