Dates & time

Excel date serial converter

Translate date-times and spreadsheet serials while exposing the 1900 leap-day anomaly.

Excel date serial converter
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

Your inputs stay in this browser. Nothing is uploaded, and nothing is saved unless you choose “Save result”.

A clear answer. Here’s how.

Uses spreadsheet wall-clock arithmetic, with the fractional part representing a 24-hour day. In the 1900 system, 1900-01-01 is 1 and the fictitious serial day 60 is rejected; in 1904, 1904-01-01 is 0. The 1900 system supports actual dates from 1900-01-01 onward, while the 1904 system supports dates from 1904-01-01. Reverse output rounds to milliseconds. No time zone or spreadsheet locale is inferred.

How this is checked

5 reference checks passed These 5 cases were run when this page was built, on 3 December 2026, and all reproduce within the stated tolerance. The same cases are part of the automated tests that run on every change to Toolmoz. Engine version 1.

See the checks and where each expected answer comes from
  1. Case 1

    Inputs
    Direction to-serialWorkbook date system 1900Calendar date-time (YYYY-MM-DDTHH:MM:SS) 2011-07-05T00:00:00
    Expected, and what Toolmoz gave
    Spreadsheet serial expected 40,729, Toolmoz 40,729
    Where the expected answer comes from
    1 Jan 2011 is serial 40544 (1 Jan 2010 is 40179, plus 365). 5 Jul is 31 + 28 + 31 + 30 + 31 + 30 = 181 days into the year, plus 4 more = 185, so 40544 + 185 = 40729
    Allowed difference
    exact
  2. Case 2

    Inputs
    Direction to-serialWorkbook date system 1900Calendar date-time (YYYY-MM-DDTHH:MM:SS) 2000-01-01T00:00:00
    Expected, and what Toolmoz gave
    Spreadsheet serial expected 36,526, Toolmoz 36,526
    Where the expected answer comes from
    1 Jan 1900 is serial 1; to 1 Jan 2000 is 100 × 365 + 24 leap days (1904 to 1996) = 36524 days (1900 is not a leap year), giving 36525; Excel also counts a fictitious 29 Feb 1900, so +1 = 36526
    Allowed difference
    exact
  3. Case 3

    Inputs
    Direction to-serialWorkbook date system 1904Calendar date-time (YYYY-MM-DDTHH:MM:SS) 1904-01-01T00:00:00
    Expected, and what Toolmoz gave
    Spreadsheet serial expected 0, Toolmoz 0
    Where the expected answer comes from
    The 1904 system defines 1 January 1904 as serial 0
    Allowed difference
    exact
  4. Case 4

    Inputs
    Direction to-serialWorkbook date system 1904Calendar date-time (YYYY-MM-DDTHH:MM:SS) 2000-01-01T00:00:00
    Expected, and what Toolmoz gave
    Spreadsheet serial expected 35,064, Toolmoz 35,064
    Where the expected answer comes from
    Microsoft documents that the two date systems differ by 1,462 days: 1 Jan 1904 is serial 1462 in the 1900 system and 0 in the 1904 system. so 36526 − 1462 = 35064
    Allowed difference
    exact
  5. Case 5

    Inputs
    Direction to-dateWorkbook date system 1900Serial number (fraction is time of day) 40729
    Expected, and what Toolmoz gave
    Calendar wall date-time expected 2011-07-05T00:00:00.000, Toolmoz 2011-07-05T00:00:00.000
    Where the expected answer comes from
    Serial 40729 is 5 July 2011 (see the first case)
    Allowed difference
    exact

What this shows: the engine reproduces independently worked values for these cases. It does not prove every possible input is right. To test an answer you were given, see how to check a number; to see what is and is not checked across Toolmoz, see the accuracy ledger.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Direction
Calendar → serial
Workbook date system
1900 date system
Calendar date-time (YYYY-MM-DDTHH:MM:SS)
2011-07-05T00:00:00

Example result

Calendar wall date-time
2011-07-05T00:00:00.000
Spreadsheet serial
40,729
Workbook date system
1900

Wall-clock value without a time zone. Serial 60 in the 1900 system is intentionally rejected.