AND
Name NOT LIKE 'Etc%'
ORDER BY
- timeoffset DESC,
- Name DESC
+ SUBSTRING_INDEX(Name, '/', 1) ASC,
+ timeoffset ASC,
+ Name ASC
");
while($ce->fetch()) {
return '';
}
+ if($dt == '0000-00-00 00:00:00' || $dt == '') {
+ $dt = 'NOW';
+ }
+
$date = new DateTime($dt, new DateTimeZone($tz));
return $date->format('P');
}