Re: $date("l-m");

From: Date: Sun, 05 Jun 2005 12:08:52 +0000
Subject: Re: $date("l-m");
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-216401@lists.php.net to get a copy of this message
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


« previous php.general (#216401) next »