PHPExcel升级为PhpSpreadsheet的注意事项
PHPExcel_Shared_Date
\PHPExcel_Shared_Date::ExcelToPHPObject()
升级为\PhpOffice\PhpSpreadsheet\Shared::excelToDateTimeObject()
-- https://github.com/PHPOffice/PHPExcel/blob/1.8/Classes/PHPExcel/Shared/Date.php#L155
--https://github.com/PHPOffice/PhpSpreadsheet/blob/develop/src/PhpSpreadsheet/Shared/Date.php#L165\PHPExcel_Shared_Date::ExcelToPHP()
升级为\PhpOffice\PhpSpreadsheet\Shared::excelToTimestamp()
-- https://github.com/PHPOffice/PHPExcel/blob/1.8/Classes/PHPExcel/Shared/Date.php#L115
-- https://github.com/PHPOffice/PhpSpreadsheet/blob/develop/src/PhpSpreadsheet/Shared/Date.php#L214
\PHPExcel_Shared_Date::FormattedPHPToExcel
升级为\PhpOffice\PhpSpreadsheet\Shared::PHPToExcel
文章来源:刘俊涛的博客 欢迎关注公众号、留言、评论,一起学习。
若有帮助到您,欢迎捐赠支持,您的支持是对我坚持最好的肯定(_)