📜  excel从日期列laravel返回整数 - PHP代码示例

📅  最后修改于: 2022-03-11 14:54:48.449000             🧑  作者: Mango

代码示例1
PhpSpreadsheet does not support value binders on imports. This is a mistake in
our documentation.

For date conversion, you are most likely dealing with an excel timestamp. You 
can try to convert using:

\PhpOffice\PhpSpreadsheet\Shared\Date::excelToDateTimeObject($row['date'])