Ejemplo n.º 1
0
 public function getHowOld()
 {
     if ($this->date_death) {
         return Util::getHowOldF($this->birth_date, $this->date_death) . " AÑOS";
     } else {
         return Carbon::parse($this->birth_date)->age . " AÑOS";
     }
 }