Re: date question
| From: | Jonas Geiregat | Date: | Sun, 29 Sep 2002 14:56:29 +0000 |
| Subject: | Re: date question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-118075@lists.php.net to get a copy of this message | ||
and If I want to calculate from given date the next month
like strtotime("next month") gives me the date of one month in advanced from NOW
but I want to get the date one month in advanced from a given date not NOW
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 ?