$cellVal= $workSheet->getCell('A1')->getValue();
$toTimestamp = \PhpOffice\PhpSpreadsheet\Shared\Date::excelToTimestamp($cellVal);
$date = date("Y-m-d", $toTimestamp );
参考:https://stackoverflow.com/questions/49142511/phpspreadsheet-time-cell-retrieved-as-float
转载随意,但请说明出处:https://mp.csdn.net/postedit/90263773