Re: incrementing a date!
| From: | Web Admin | Date: | Sun, 25 Feb 2001 13:24:07 +0000 |
| Subject: | Re: incrementing a date! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41583@lists.php.net to get a copy of this message | ||
hi,
try $tomorrow = mktime(0,0,0,date("m") ,date("d")+1,date("Y"));
or maybe better than this, if you convert the date to the standard
unix timestamp and use DATE function.
Best of luck,
Ahmad Anvari
----- Original Message -----
From: kaab kaoutar
To: php-general@lists.php.net
Sent: Sunday, February 25, 2001 2:36 PM
Subject: [PHP] incrementing a date!
Hi all!
s there a way with which we can increment a date (by day) without extracting
the month the day and the year then increment some of them depending on the
day the month and the year ?
ex: 2001-03-28 'll become 2001-04-01
Thanks
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net