Re: Re: date question
| From: | Matt | Date: | Sun, 29 Sep 2002 15:02:17 +0000 |
| Subject: | Re: Re: date question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-118076@lists.php.net to get a copy of this message | ||
> From: "Jonas Geiregat" <kemu@sdf-eu.org>
> Sent: Sunday, September 29, 2002 10:56 AM
> Subject: [PHP] Re: date question
> 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
If you have mysql lying around, it has a bunch of date functions that can do
what you want:
http://www.mysql.com/doc/en/Date_and_time_functions.html