private function setMongoDate($date) { $carbon = new \Carbon\Carbon($date); return new \MongoDate($carbon->timestamp, $carbon->micro); }