Lines Matching refs:format
33 $currentYear = $date->format('Y');
34 $currentMonth = $date->format('m');
35 $lastDayOfMonth = $date->format('t');
42 while ($tdate->format('w') != $weekday) {
49 return $date->format('j') == $lastDayOfMonth;
56 // 0 and 7 are both Sunday, however 7 matches date('N') format ISO-8601
69 if ($date->format('N') != $weekday) {
78 if ($tdate->format('N') == $weekday) {
86 return $date->format('j') == $currentDay;
101 $format = in_array(7, str_split($value)) ? 'N' : 'w';
102 $fieldValue = $date->format($format);