Page 1 of 1

PHPExcel -Datumsformat

Posted: 13 Feb 2025, 22:24
by Anonymous
wie man das Datumsformat in Open Excel < /p>
eingibt

Code: Select all

foreach($detail->result() as $data) {
$sheet->setCellValueExplicitByColumnAndRow($kol+1, $bar, $data->t_spk_id, PHPExcel_Cell_DataType::TYPE_STRING);
$sheet->setCellValueExplicitByColumnAndRow($kol+2, $bar, date('Y/m/d H:i:s',strtotime($data->t_spk_respontime)), PHPExcel_Cell_DataType::TYPE_STRING);

$bar++;
}