1.读取excle中的日期
$val = $PHPExcel_sheet->getCellByColumnAndRow(ord('I')-65,3)->getValue(); echo date("Y-m-d",PHPExcel_Shared_Date::ExcelToPHP($val));die;
2.设置导出excle表格中日期格式
$resultPHPExcel->getActiveSheet()->setCellValue('A1',PHPExcel_Shared_Date::PHPToExcel($value['time'],true));
标签:读取,val,格式,日期,Shared,PHPExcel From: https://www.cnblogs.com/wjs2019/p/17277068.html