public function getCurrentTime() { $time = $this->getFirstAttribute($this->schema->currentTime()); return DateTime::createFromFormat($this->timestampFormat, $time)->getTimestamp(); }