Answers for "get datetime of excel cell in codeigniter"

PHP
0

get datetime of excel cell in codeigniter

$field1= $objWorksheet->getCellByColumnAndRow(0,$i)->getFormattedValue(); //Excel Column 3
$date = PHPExcel_Shared_Date::ExcelToPHP($field1); //unix
echo $field1= gmdate("Y-m-d", $date); //date
Posted by: Guest on August-30-2021

Browse Popular Code Answers by Language