Example #1
0
 public function displayAgo()
 {
     $timestamp = new DateTime($this->get('added'));
     $timestamp = $timestamp->format('U');
     return Ajde_Component_String::time2str($timestamp);
 }