Open GoogleCodeExporter opened 9 years ago
I also have the same problem.
Original comment by Radbi...@gmail.com
on 5 Jul 2010 at 4:18
Fix that worked for me:
function ooodate(&$excel_reader,$row,$col) {
$date = new DateTime('1904/1/1'); //base date for OpenOffice xls
$date->modify('+'.$excel_reader->raw($row,$col).' days');
return $date->format('d-m-Y'); //or whatever format you want.
}
I used it in another file, but it should be similar to include it in the class,
I just don't have the time at present.
Original comment by EagleG...@gmail.com
on 3 Aug 2010 at 7:10
Original issue reported on code.google.com by
arron.wo...@gmail.com
on 10 Mar 2010 at 3:19