Re: Date question?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




If I have a date (2003-04-02) and want to select 9 months later, how to
do?

Try this:

echo date("Y-m-d",strtotime("2003-04-02 +9 month"));


Erwin Kerk WebDeveloper

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux