public function onCreated() { parent::onCreated(); $this->unrestrictedSet('latestDateTime', DateTimeUtil::convertTimestampToDbFormatDateTime(time())); }