private function setDatetime($datetime) { $this->datetime = Carbon::createFromFormat('Y-m-d H:i:s', $datetime); return $this; }