| Line 1626... |
Line 1626... |
| 1626 |
$totalseconds = floor(SPREADSHEET_EXCEL_READER_MSINADAY * $fractionalDay);
|
1626 |
$totalseconds = floor(SPREADSHEET_EXCEL_READER_MSINADAY * $fractionalDay);
|
| 1627 |
$secs = $totalseconds % 60;
|
1627 |
$secs = $totalseconds % 60;
|
| 1628 |
$totalseconds -= $secs;
|
1628 |
$totalseconds -= $secs;
|
| 1629 |
$hours = floor($totalseconds / (60 * 60));
|
1629 |
$hours = floor($totalseconds / (60 * 60));
|
| 1630 |
$mins = floor($totalseconds / 60) % 60;
|
1630 |
$mins = floor($totalseconds / 60) % 60;
|
| - |
|
1631 |
// David Delon : on force du JJ/MM/AAAA
|
| - |
|
1632 |
$format= "d/m/Y";
|
| 1631 |
$string = date ($format, mktime($hours, $mins, $secs, $dateinfo["mon"], $dateinfo["mday"], $dateinfo["year"]));
|
1633 |
$string = date ($format, mktime($hours, $mins, $secs, $dateinfo["mon"], $dateinfo["mday"], $dateinfo["year"]));
|
| 1632 |
} else if ($type == 'number') {
|
1634 |
} else if ($type == 'number') {
|
| 1633 |
$rectype = 'number';
|
1635 |
$rectype = 'number';
|
| 1634 |
$formatted = $this->_format_value($format, $numValue, $formatIndex);
|
1636 |
$formatted = $this->_format_value($format, $numValue, $formatIndex);
|
| 1635 |
$string = $formatted['string'];
|
1637 |
$string = $formatted['string'];
|