quantlib.time.date.Date.from_serial

classmethod Date.from_serial(cls, serial_type serial)

Creates a Date object from a serial number (e.g., from Excel).

Parameters:
serialint

The serial number representing the date.