Heya,

To me, an interval is well represented by DateInterval, while the
DateTime::modify() method looks more like a shortcut to it. Do you really
need the additional functionality? Shouldn't it be easier to $date->add(new
DateInterval('P15D')); ? It is also a better representation of an interval
to me...


Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/

Reply via email to