Not a very good solution, but +4 weeks works.
Adam Voigt
[EMAIL PROTECTED]
On Thu, 2002-10-31 at 11:33, Jeff Bearer wrote:
> date("Y-m-d",strtotime("+1 month"))
>
> returns December 1st! This happens when you add 1 month to any day that
> doesn't exist in the next month. Quite annoying that you have to handle
> it like this:
>
> date("Y-m-d",strtotime("+1 month",strtotime(date("Y-m-1"))))
>
>
> --
> Jeff Bearer, RCHE
> Webmaster, PittsburghLIVE.com
> Winner 2002 Eppy Award, Best U.S. Newspaper Website
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php