John Taylor-Johnston wrote:
$mydata->lastinsalled = "2004-05";

take a good look at mktime();


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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to