Lines Matching refs:date

31     $cy = date("Y");
55 $date = mktime(0, 0, 1, $cm, $cd, $cy); variable
58 if ($events = load_events($date)) {
60 site_header("Events: " . date("F j, Y", $date), $site_header_config);
61 echo "<h2>", date("F j, Y", $date), "</h2>\n";
71 … $errors[] = "There are no events for the specified date (" . date("F j, Y",$date) . ").";
89 if (empty($cm)) { $cm = date("m"); }
90 if (empty($cy)) { $cy = date("Y"); }
93 $date = mktime(0, 0, 1, $cm, 1, $cy); variable
96 site_header("Events: " . date("F Y", $date), $site_header_config);
113 $events = load_events($date, true);
134 $year = date('Y', $lm);
139 $month = date('m', $lm);
140 $monthName = date('F', $lm);
151 $year = date('Y', $nm);
156 $month = date('m', $nm);
157 $monthName = date('F', $nm);
168 '<td align="center" width="33%"><b>', htmlentities(date('F, Y', $bom)), '</b></td>',
177 echo '<th width="14%">', date("l",mktime(0,0,1,4,$i + 1,2001)), "</th>\n";
182 for ($days = $i = date("w",$bom); $i > 0; $i--) {
187 for ($i = 1; $i <= date("t",$bom); $i++) {
192 display_events_for_day(date("Y-m-",$bom) . sprintf("%02d",$i), $events);
219 $bomd = date("w", $bom) + 1;
221 return mktime(0,0,1, date("m",$bom), $days + 1, date("Y",$bom));
225 $eomd = date("w",$eom) + 1;
228 return mktime(0, 0, 1, date("m", $bom) + 1, -$days, date("Y", $bom));
285 $from_date = date("Y-m-d", $from);
286 $bom = mktime(0, 0, 1, date("m",$from), 1, date("Y",$from));
287 $eom = mktime(0, 0, 1, date("m",$from) + 1, 0, date("Y",$from));
288 $to_date = date("Y-m-d", $whole_month ? $eom : $from);
316 $date = date_for_recur($event['recur'], $event['recur_day'], $bom, $eom);
317 $event['start'] = date("Y-m-d", $date);
385 $current_year = date("Y");