Re: date question
| From: | Jean-Christian Imbeault | Date: | Sun, 29 Sep 2002 14:14:33 +0000 |
| Subject: | Re: date question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-118073@lists.php.net to get a copy of this message | ||
Jonas Geiregat wrote:
I have a date ex 24/08/02
and I need to see if that date is the same date as it is today (only one month later) but 5day's in advanced => that would be 24/09/02
so if(date == date now - 5)
{true}
else{false}
how can I do this right ?
Look at the online docs and read up on date() and strtotime() which can accept things like (today - 5days) as arguments.
Jc