RE: [PHP] date
| From: | John W. Holmes | Date: | Fri, 14 Mar 2003 13:16:45 +0000 |
| Subject: | RE: [PHP] date | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139707@lists.php.net to get a copy of this message | ||
> If I have a date in this format :19-MAR-03 how do I get the next date
(the
> date plus 1)?
echo strtoupper(date('d-M-y',strtotime("$date +1 day")));
But why do you have it in that format to begin with?
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/