Skip to content

Commit 2289793

Browse files
committed
Documentation
1 parent b03815e commit 2289793

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/XlsxFastEditor.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,11 @@ public function getWorkbookDateSystem(): int
191191
return $baseYear;
192192
}
193193

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+
*/
194199
public static function excelDateToDateTime(float $excelDateTime, int $workbookDateSystem = 1900): \DateTimeImmutable
195200
{
196201
static $baseDate1900 = null;

0 commit comments

Comments
 (0)