Get time value more than 24 hours

Topics: Developer Forum, User Forum
Apr 2, 2015 at 12:41 AM
Hi, i have a very simple problem.

I reading a excel with time values over than 24 hours, but PHPExcel return me a decimal number.

Actually my cell value is formatted like "[h]:mm:ss" and have a value of 260:21:01. I tried this:
$value = $objPHPExcel->getActiveSheet()->getCell('E7')->getValue();
$formatCode = $objPHPExcel->getActiveSheet()->getStyle('E7')->getNumberFormat()->getFormatCode();
$time_value= PHPExcel_Style_NumberFormat::toFormattedString($value, $formatCode);
But this still return a float number only when the cell have a value more than 24 hours.

Any solution for my problem?
Sorry for my bad english, i'm mexican.

Thanks for your help.