LazyTools Header
Excel Serial Date Converter — Serial Number to Date & Batch Mode | LazyTools
Developer & Data Tool

Excel Serial Date Converter — Serial Number to Date & Batch Mode

Convert Excel serial date numbers to human-readable dates — and any date back to its Excel serial number. Supports both the Windows 1900 date system and the Mac 1904 date system. Furthermore, the unique Batch mode converts up to 500 serial numbers at once — paste an entire column from a spreadsheet and get all dates back in ISO, US, EU or long form with a single click.

Windows 1900 & Mac 1904Both directionsBatch 500 serial numbersCSV & list exportExcel formula shown

How to use the Excel Serial Date Converter

1
Choose Date → Serial or Serial → Date
Use the inner tabs to select conversion direction. Furthermore, the tool defaults to Date → Serial — enter any Gregorian date to find its Excel serial number for the selected platform.
2
Select the correct platform
Windows Excel uses the 1900 date system (epoch 30 December 1899). Mac Excel uses the 1904 date system (epoch 1 January 1904). Furthermore, using the wrong platform produces dates offset by 1,462 days — always check which date system your workbook uses under Excel Options.
3
Click to convert and copy
The result shows the serial number alongside the Gregorian date, day of week and the Excel DATE formula that produces that number. Furthermore, individual Copy buttons let you copy any row's value for pasting directly into Excel or code.
4
Batch convert an entire column
Click the Batch Convert tab. Paste up to 500 serial numbers (one per line) and select the platform and output date format. Furthermore, clicking Convert All produces a table of results instantly — with Copy CSV and Copy list buttons for exporting the full batch.
5
Use CSV export for data cleaning
The CSV export includes three columns — original serial, converted date and day of week. Furthermore, this format pastes directly into Excel or Google Sheets for data cleaning. Moreover, the day of week column helps verify that conversions are correct by checking against expected weekdays.

Windows 1900 versus Mac 1904 date system

Excel uses two different date system epochs depending on the platform and workbook settings. Furthermore, using the wrong epoch when converting serial numbers produces dates that are 1,462 days off — almost exactly 4 years.

SystemEpoch (serial 1)Used bySerial for 1 Jan 2025
1900 (Windows)1 January 1900Windows Excel, Google Sheets, LibreOffice45658
1904 (Mac legacy)2 January 1904Older Mac Excel workbooks44196

The 1900 leap year bug

Excel's 1900 date system includes a deliberate bug: it treats 29 February 1900 as a valid date — even though 1900 was not a Gregorian leap year. Furthermore, Lotus 1-2-3 introduced this bug originally and Excel maintained it for compatibility. Moreover, this means Excel serial number 60 corresponds to the non-existent date 29 February 1900 in the 1900 system. For practical purposes, this only affects dates before 1 March 1900 — irrelevant for most modern uses.

How Excel serial dates are calculated

An Excel serial date number counts the days elapsed since the epoch date. Furthermore, adding the serial number (as a count of days) to the epoch date gives the Gregorian date.

Date = Epoch + Serial × 86,400,000 ms
Windows epoch = 30 December 1899 (serial 0 = this date in JavaScript)
Mac epoch = 1 January 1904 (serial 0 = this date)
Serial for 2025-01-01 = 45658 (Windows) or 44196 (Mac)
Difference = 45658 − 44196 = 1462 days = ~4 years

Detecting which date system a workbook uses

In Excel, go to File → Options → Advanced and scroll to "When calculating this workbook". Furthermore, if "Use 1904 date system" is checked, the workbook uses Mac dates. Google Sheets always uses the 1900 system. Moreover, when copying data between Excel workbooks with different date systems, Excel adjusts dates automatically — but exported CSV or text files carry the raw serial number without system information.

Worked example: debugging a date display issue

A data analyst exports a date column from a database as integer values: 45658, 45721, 45812. They need to know what dates these represent.

Serial numberWindows dateMac dateDifference
456581 Jan 20253 Jan 20211462 days
457215 Mar 20256 Mar 20211462 days
458124 Jun 20255 Jun 20211462 days
The 1,462-day gap confirms these are recent dates (2025) under the Windows 1900 system — not 2021 under the Mac 1904 system. Furthermore, pasting all three into the Batch Convert tab with "Windows 1900" selected converts them all at once and copies the result as CSV for re-import.

What is an Excel serial date number?

An Excel serial date number is how Microsoft Excel stores date values internally. Furthermore, every date in Excel is stored as a positive integer representing the number of days since the epoch date. The human-readable date display (e.g. "01/01/2025") is simply a formatting layer over the underlying serial number.

Serial numbers appear as raw integers when date cells lose their formatting — during CSV export, database import, API transfer or copy-paste into plain text. Furthermore, any data pipeline that extracts dates from Excel without preserving cell formatting produces raw serial numbers. Moreover, these numbers are meaningless to humans without conversion.

Where serial dates appear in data work

CSV exports from Excel often convert date cells to their serial number when the receiving system does not recognise the date format. Furthermore, SQL databases importing from Excel may store dates as integers if the date column type is not specified. Moreover, Python's openpyxl library reads Excel dates as serial floats unless explicitly converted. Data engineers encounter serial dates in ETL pipelines, legacy system migrations and cross-platform data exchanges.

Serial numbers with decimal fractions — time components

Excel serial numbers can include a decimal fraction representing the time of day. Furthermore, 0.5 represents noon (12:00:00), 0.25 represents 06:00 and 0.75 represents 18:00. A serial value of 45658.5 means 1 January 2025 at 12:00:00 noon. Moreover, this tool handles integer serial numbers — for serial dates with time components, truncate the decimal before converting to get the calendar date.

Why Excel serial date conversion matters

Data quality depends on correct date representation. A serial number stored in a date column that loses its format becomes an unreadable integer in any downstream system. Furthermore, batch converting hundreds of serial numbers from a legacy data export is a recurring task in data cleaning and ETL work. Moreover, the batch mode reduces a multi-hour manual task to under one minute for files with up to 500 dates.

Cross-platform workbook sharing creates serial date confusion. A Mac Excel workbook sent to a Windows user may show dates shifted by 4 years. Furthermore, the 1900/1904 system difference is invisible to the end user — the dates look plausible but are wrong. Moreover, identifying this error requires checking the workbook's date system setting and then converting all dates with the correct epoch.

How Python and programming languages handle Excel dates

Python's openpyxl reads Excel date cells as datetime objects automatically in most cases. Furthermore, when reading xlrd (for older .xls files), dates may come through as serial floats. The conversion formula in Python is: datetime.date(1899, 12, 30) + timedelta(days=serial). Moreover, pandas' read_excel uses openpyxl by default and converts dates automatically — but raw CSV exports from Excel still produce serial integers that require manual conversion.

Frequently asked questions

The 1900 date system uses 30 December 1899 as its epoch (serial 0) and is the default for all modern Excel versions on Windows and Mac, and for Google Sheets. Furthermore, the 1904 date system uses 1 January 1904 as its epoch and was the original Mac Excel format. The two systems produce dates 1,462 days apart for the same serial number. Use the platform selector to choose the correct system.
In Excel on Windows, go to File → Options → Advanced, then scroll to "When calculating this workbook" and check whether "Use 1904 date system" is enabled. Furthermore, in Excel on Mac, go to Excel → Preferences → Calculation. If the 1904 system is not checked, the workbook uses the 1900 system — the modern default. Moreover, Google Sheets always uses the 1900 system and has no 1904 option.
The cell has lost its date formatting — it is displaying the underlying serial number rather than the formatted date. Furthermore, to restore the date display, select the cell, right-click → Format Cells, and choose a Date format. The underlying serial value 44196 in the 1900 system corresponds to 2 January 2021. Moreover, this commonly happens when pasting dates from external sources or when opening a CSV file that Excel cannot recognise as containing dates.
Yes. An Excel serial number (1900 system) converts to a Unix timestamp by: (serial − 25569) × 86400. Furthermore, 25569 is the serial number for 1 January 1970 (the Unix epoch) in the Excel 1900 system. The result is a Unix timestamp in seconds. Moreover, multiply by 1000 to get milliseconds for JavaScript Date objects.
The batch converter flags any line it cannot parse with "Invalid" or "Parse error" in the result column. Furthermore, errors appear in red in the output table. Valid conversions and errors both appear in the CSV export so you can identify and fix the problematic values. Moreover, common error causes include: non-numeric input in serial mode, unrecognised date format in date mode, or values outside the supported date range.

Related Date & Time tools

Every tool on LazyTools runs in your browser. Nothing is uploaded or stored.

UNIX Timestamp Converter

Convert Unix timestamps to readable dates. Furthermore, batch mode and code snippets for 5 languages are included.

Milliseconds to Date

Convert millisecond timestamps to dates. Additionally, a duration calculator shows elapsed time between two timestamps.

Online Date Format Converter

Convert dates between ISO, US, EU and 12 formats. Furthermore, batch mode converts 100 dates at once.

Julian Day Number Converter

Convert Gregorian dates to Julian Day Numbers. Furthermore, JDN is used in astronomy and historical calendar research.

Date Difference Calculator

Exact gap between two dates in every unit. Additionally, milestone markers show every 100th and 1000th day.

Workweek Calculator

Find ISO, US and Gulf workweek numbers for any date. Furthermore, all 7 dates in any ISO week are shown.

Rate this tool

4.6
out of 5
511 ratings
5 ★
67%
4 ★
24%
3 ★
5%
2 ★
3%
1 ★
0%
How useful was this tool?