note 78448 deleted from function.date by derick
| From: | derick@php.net | Date: | Sun, 09 Dec 2007 13:38:36 +0000 |
| Subject: | note 78448 deleted from function.date by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-133004@lists.php.net to get a copy of this message | ||
Note Submitter: john at malkovich dot net
----
If you're wanting to increment a date, add twenty-FIVE hours (yes, one day per year may last 25
hours...), and the additional hour won't impact other days, as it's converted to a Y-m-d
string:
$date=date('Y-m-d', strtotime($date)+(25*3600));
Try this for october 28, 2007...