File indexing completed on 2024-12-22 05:36:17

0001 <?php
0002 
0003 /**
0004  * Description of Date
0005  *
0006  * @author local
0007  */
0008 class CB_Date extends Zend_Date
0009 {
0010     public function difference(Zend_Date $arg)
0011     {
0012         $diff = $this->sub($arg);
0013         
0014         return $diff->getUnixTimestamp();
0015         
0016     }
0017 }