Lines Matching refs:currentDate
4490 $currentDate = new DateTime($startDate);
4496 $currentDate->modify('+1 day');
4501 $daysSinceStart = (new DateTime($startDate))->diff($currentDate)->days;
4506 $daysSinceStart = (new DateTime($startDate))->diff($currentDate)->days;
4509 $currentDayOfWeek = (int)$currentDate->format('w');
4516 … $monthsSinceStart = (($currentDate->format('Y') - $startDT->format('Y')) * 12) +
4517 ($currentDate->format('n') - $startDT->format('n'));
4524 $currentDay = (int)$currentDate->format('j');
4525 $daysInMonth = (int)$currentDate->format('t');
4529 … $shouldInclude = $this->isOrdinalWeekdayAdmin($currentDate, $ordinalWeek, $ordinalDay);
4535 $yearsSinceStart = (int)$currentDate->format('Y') - (int)$startDT->format('Y');
4537 $sameMonthDay = ($currentDate->format('m-d') === $startDT->format('m-d'));
4543 $dates[] = $currentDate->format('Y-m-d');