May 17, 2013 at 9:53 PM
Edited May 17, 2013 at 9:55 PM
i'me new to PHPExcel and I try to generate a Spreadsheet from a PHP-array. I found the method 'setCellValueByColumnAndRow()' and could do nearly everything I want, but now I trie to format a cell as date and found this way in your example '02-types-xls.php':
->setCellValue('C9', PHPExcel_Shared_Date::PHPToExcel( $dateTimeNow ));
Instead of 'setCellValue' I can use 'setCellValueByColumnAndRow' but what can I do with the 'getStyle()'-method in the second line?