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 b03815e commit 2289793Copy full SHA for 2289793
src/XlsxFastEditor.php
@@ -191,6 +191,11 @@ public function getWorkbookDateSystem(): int
191
return $baseYear;
192
}
193
194
+ /**
195
+ * Convert an internal Excel float representation of a date to a standard `DateTime`.
196
+ * @param int $workbookDateSystem {@see XlsxFastEditor::getWorkbookDateSystem()}
197
+ * @internal
198
+ */
199
public static function excelDateToDateTime(float $excelDateTime, int $workbookDateSystem = 1900): \DateTimeImmutable
200
{
201
static $baseDate1900 = null;
0 commit comments