ZF-3260: Add a function/functionset to calculate differences
Description
Add a function or multiple functions to calculate the difference between two date objects or date strings. The returned datepart should be selectable.
f.e.:
$date->getDifference($date2, Zend_Date::MINUTES); $date->getDifference($date2, Zend_Date::SECONDS); and so on...
Comments
Posted by Maxence Delannoy (mdelanno) on 2009-05-03T09:16:20.000+0000
My solution :
Note: $_options is a static property of Zend_Date, there is no method to access it from a derived class.
Posted by Konstantin.Myakshin (koc) on 2010-05-19T17:39:17.000+0000
what about to implement this method in next minior release?
Posted by Jorge Padron (jpadron) on 2010-05-20T05:18:18.000+0000
+1