public function getValue() { if (!parent::getValue()) { $this->setValue($this->formatTime(time(), 'Y-m-d')); } return parent::getValue(); }