Adding a time interval to an interval

From: Date: Fri, 28 Jun 2013 16:00:43 +0000
Subject: Adding a time interval to an interval
Groups: php.internals 
Request: Send a blank email to internals+get-68006@lists.php.net to get a copy of this message
Hi, all I'd like to extend the API of php by a method. Currently it is possible to create a DateInterval ... but if you have two DateIntervals and want to "combine" them, you need to do it by your own. I think it'd be a good idea to add a method for that to the DateInterval class. http://stackoverflow.com/questions/11556731/how-we-can-add-two-date-intervals-in-php Bye, Simon

« previous php.internals (#68006) next »