/** * Check if cell is a date * @param integer $index * @return boolean */ protected function cellIsDate($index) { // if is a date or if is a date column if ($this->reader->getDateColumns()) { return in_array($index, $this->reader->getDateColumns()); } else { return PHPExcel_Shared_Date::isDateTime($this->cell); } }