Lines Matching refs:date
48 use function date; alias
101 [$date, $text] = explode('(', $data, 2);
104 $date = $data;
108 $date = strtoupper($date);
110 $date = ' ' . $date . ' ';
112 $date = preg_replace('/([A-Z])(\d)/', '$1 $2', $date);
113 $date = preg_replace('/(\d)([A-Z])/', '$1 $2', $date);
115 $date = preg_replace('/@#[^@]+@/', ' $0 ', $date);
117 $date = preg_replace('/(\w\w)\./', '$1', $date);
119 $date = str_replace(' CIR ', ' ABT ', $date);
120 $date = str_replace(' APX ', ' ABT ', $date);
122 $date = str_replace(' B.C. ', ' BC ', $date);
124 $date = preg_replace('/^ EITHER (.+) OR (.+)/', ' BET $1 AND $2', $date);
126 $date = preg_replace('/^(.* BET .+) - (.+)/', '$1 AND $2', $date);
127 $date = preg_replace('/^(.* FROM .+) - (.+)/', '$1 TO $2', $date);
129 … $date = preg_replace('/^ +(@#[^@]+@) +FROM +(.+) +TO +(.+)/', ' FROM $1 $2 TO $1 $3', $date);
130 … $date = preg_replace('/^ +(@#[^@]+@) +BET +(.+) +AND +(.+)/', ' BET $1 $2 AND $1 $3', $date);
132 …$date = preg_replace('/^ +(@#[^@]+@) +(FROM|BET|TO|AND|BEF|AFT|CAL|EST|INT|ABT) +(.+)/', ' $2 $1 $…
135 $date = preg_replace('/[.,:;-]/', ' ', $date);
137 $date = str_replace(' BC ', ' B.C. ', $date);
139 $data = $date . $text;
400 $today = strtoupper(date('d M Y'));
583 $date = new Date($match[2]);
585 'd_day' => $date->minimumDate()->day,
586 'd_month' => $date->minimumDate()->format('%O'),
587 'd_mon' => $date->minimumDate()->month,
588 'd_year' => $date->minimumDate()->year,
589 'd_julianday1' => $date->minimumDate()->minimumJulianDay(),
590 'd_julianday2' => $date->minimumDate()->maximumJulianDay(),
594 'd_type' => $date->minimumDate()->format('%@'),
598 'd_day' => $date->maximumDate()->day,
599 'd_month' => $date->maximumDate()->format('%O'),
600 'd_mon' => $date->maximumDate()->month,
601 'd_year' => $date->maximumDate()->year,
602 'd_julianday1' => $date->maximumDate()->minimumJulianDay(),
603 'd_julianday2' => $date->maximumDate()->maximumJulianDay(),
607 'd_type' => $date->minimumDate()->format('%@'),