On 12/03/13 17:30, Derick Rethans wrote:
> On Tue, 12 Mar 2013, Jonathan Sundquist wrote:
>> Why would the result not preserve the time?
> Because "tomorrow" starts at midnight. You want "+1 day".
>
> cheers,
> Derick
Alternatively, $d->add(new DateInterval('P1D'));


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to