Additionally, there's ->isEarlier() and ->isLater, which will tell you if the date object passed in is earlier than the calling date object or later respectively.
On Wed, Feb 18, 2009 at 9:25 AM, Thomas VEQUAUD <[email protected]>wrote: > > http://framework.zend.com/manual/en/zend.date.basic.html#zend.date.simple.functions.add > > $date = new Zend_Date(); > $date->sub(); > > > > On Wed, Feb 18, 2009 at 4:15 PM, Stefan Sturm > <[email protected]> wrote: > > > > Hello, > > > > I need to calc the difference of two dates? Is this possible using > Zend_Date? > > I can't find anything about this... > > > > Thanks, > > Stefan Sturm > > > > -- > Thomas VEQUAUD http://thomas.vequaud.free.fr/ > Expert EPITECH en Ingénierie Informatique > Tél : +33(0)6.50.39.28.10 Fax: +33(0)9.58.46.10.07 > -- A.J. Brown web | http://ajbrown.org phone | (937) 660-3969
