Posted by Jochem Maas on 06/05/05 15:08
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
>
Navigation:
[Reply to this message]
|