> 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/



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

Reply via email to