$date("l-m");
| From: | John Taylor-Johnston | Date: | Sun, 05 Jun 2005 05:12:08 +0000 |
| Subject: | $date("l-m"); | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-216397@lists.php.net to get a copy of this message | ||
$mydata->lastinsalled = "2004-05";
How can I determne if $mydata->lastinsalled is one year or more older than the current $date("l-m");
Anyting simple and over looked? I have been browsing the manual::
http://ca.php.net/manual/en/function.strtotime.php
http://ca.php.net/manual/en/function.date.php
John