We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a25899 commit 05d5a40Copy full SHA for 05d5a40
tests/test.php
@@ -18,6 +18,7 @@
18
assert($xlsxFastEditor->getWorksheetCount() === 2);
19
20
assert($xlsxFastEditor->getWorkbookDateSystem() === 1900);
21
+ echo json_encode(XlsxFastEditor::excelDateToDateTime(0.5, 1900)->format('c')), "\n";
22
assert(XlsxFastEditor::excelDateToDateTime(0.5, 1900)->format('c') === '1900-01-01T12:00:00+01:00');
23
assert(XlsxFastEditor::excelDateToDateTime(32, 1900)->format('c') === '1900-02-01T00:00:00+01:00');
24
assert(XlsxFastEditor::excelDateToDateTime(44865, 1904)->format('c') === '2026-11-01T00:00:00+01:00');
0 commit comments