public function afterFind() { $this->date = date('d-m-Y', strtotime($this->date)); return parent::afterFind(); }