Hi,

I need to get the interval in days of two dates:

$date = new Zend_Date($advert['expired_date'], 'yyyy-MM-dd HH:mm:ss');
$currentDate = new Zend_Date();

I can then display something like:
Your advert will expire in x days.

Can anyone help me with this ?

Thank you for any kind help !
-- 
View this message in context: 
http://www.nabble.com/Get-the-interval-in-days-of-two-dates-tp20440319p20440319.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to