Lines Matching refs:format

342                 if ('23' == $this->currentDate->format('G')) {
353 $currentMonth = $this->currentDate->format('n');
356 $currentDay = $this->currentDate->format('w');
359 $currentHour = $this->currentDate->format('G');
397 $currentDay = (int) $this->currentDate->format('w');
400 $currentHour = (int) $this->currentDate->format('G');
408 if ($this->currentDate->format('w') != $firstDay) {
422 $currentDayOfMonth = $this->currentDate->format('j');
435 } while ($tempDate->format('j') != $currentDayOfMonth);
460 …$this->currentDate = new DateTimeImmutable($this->currentDate->format('Y-m-1 H:i:s'), $this->curre…
478 (int) $this->currentDate->format('Y'),
479 (int) $this->currentDate->format('n'),
489 $currentMonth = $this->currentDate->format('n');
490 $currentYear = $this->currentDate->format('Y');
491 $currentDayOfMonth = $this->currentDate->format('j');
510 } while (2 != $nextDate->format('n'));
527 $currentYear = $this->currentDate->format('Y');
565 $currentYear = $this->currentDate->format('Y');
580 … if ($date > $this->currentDate && in_array($date->format('N'), $dayOffsets)) {
602 $currentMonth = $this->currentDate->format('n');
603 $currentYear = $this->currentDate->format('Y');
604 $currentDayOfMonth = $this->currentDate->format('j');
833 $checkDate = new \DateTime($startDate->format('Y-m-1'));
835 if ($checkDate->format('l') !== $dayName) {
840 $dayHits[] = $checkDate->format('j');
842 } while ($checkDate->format('n') === $startDate->format('n'));
875 if ($monthDay > $startDate->format('t') ||
876 $monthDay < 0 - $startDate->format('t')) {
883 $byMonthDayResults[] = $startDate->format('t') + 1 + $monthDay;