function labelFromDate($value) { $arr = $this->splitDT($value, ValueValidator::getInternalDateFormat()); if ($arr['Y'] == 0 || $value == ValueValidator::getInfiniteDate()) return ''; if ($arr['Y'] > 1972 && $arr['Y'] < 2038) // ;-((( return date($this->dateFormat, strtotime($value)); //MC: changing this may break Aurora lastUpdated column (uses internalDormat 'Ymd') else return $this->formatDT($arr, $this->dateFormat); //has its limitations too, but not the year limit } |