public function nthOfMonth($nth, $dayOfWeek) { $dt = $this->copy()->firstOfMonth(); $check = $dt->format('Y-m'); $dt = $dt->modify("+{$nth} " . static::$days[$dayOfWeek]); return $dt->format('Y-m') === $check ? $dt : false; }