public function getDate($format = null) { if (!$format) { return $this->get('__date__')->sec; } return date($format, $this->get('__date__')->sec); }