php - PHPExcel date not appearing -
i trying format php date() object format excel can read date rather string.
$row[] = phpexcel_shared_date::phptoexcel(date('d-m-y', strtotime($worksheet_one_job['job']['date_of_order']))); $worksheet_one->fromarray($row, null, $columnid.$rowid);
the format of field $worksheet_one_job['job']['date_of_order']
in database datetime (2016-06-28 00:00:00)
when check in excel prints nothing @ all, ideas how can set cell date format excel can read rather string?
Comments
Post a Comment