Convert human calendar dates into numeric Excel serial day numbers
Convert standard calendar dates into Excel-compatible numeric serial day values.
Interactive Sample Data
| id | order_date | total |
|---|---|---|
| 1 | 2024-10-05 | 1200.00 |
| 2 | 2024-10-06 12:00:00 | 850.50 |
| 3 | 2024-11-04 | 3400.00 |
How this tool works
Things that usually go wrong
- Dates before 1900-03-01 produce serials below 60 — these are affected by Excel's 1900 leap-year bug.
- Dates in non-ISO format must be standardised first.
Edge cases we tested
Converted to high-precision decimal serial values without rounding loss.
Properly synchronized with Excel's 1900 date system.
Configurable between US (MM/DD) and International (DD/MM) parsing.
Frequently Asked Questions
Why would I need Excel date serials?
When building Excel files programmatically (e.g. with Python's openpyxl), date cells must be set as serial integers, not strings.
Is the 1900 leap-year bug emulated?
Yes. The output matches what Excel would show for the same date.
Why does my Python openpyxl date look wrong after setting it as a serial?
openpyxl expects the date as a Python datetime object, not a serial integer. Use this tool to verify the expected serial, then set the cell value as a datetime in Python for correct display.
Are dates before 1900 supported?
Excel does not natively support dates before 1900-01-01 (serial 1). Dates in the 1800s are outside the Excel date range and the tool will flag them.
Related tools
Column to Comma-Separated List
Extract a CSV column and convert it to a comma-separated list for SQL IN clauses or code arrays.
Open Tool →Comma-Separated List to Column
Convert a comma-separated, line-separated, or SQL IN list into a single-column CSV.
Open Tool →Lines to CSV
Convert plain-text newline-delimited records into structured CSV tables.
Open Tool →