Sub topic 6
The 1900 and 1904 date systems
This chapter assumes you know that Excel stores dates as serial numbers and that a number format controls how a cell displays one. You should also be comfortable with DATE and with changing a cell to General format.
Two starting points for counting
A serial number counts days from a starting point. Excel supports two starting points, called date systems.
| Date system | Serial 0 or 1 | Serial for 15 March 2023 |
|---|---|---|
| 1900 | Serial 1 is 1 January 1900 | 45000 |
| 1904 | Serial 0 is 1 January 1904 | 43538 |
The two systems differ by 1,462 days. That is four years plus one day. Most workbooks use the 1900 system, and every other chapter in this tutorial assumes it.
The setting belongs to each workbook, not to Excel as a whole. In Windows, look under File > Options > Advanced, in the section "When calculating this workbook", for the option Use 1904 date system. The 1904 system is a legacy of early Macintosh versions of Excel, so you mainly meet it in old files.
=DATE(2023,3,15)With the cell formatted as General, this shows 45000 in a 1900-system workbook and 43538 in a 1904-system workbook. The displayed date is the same in both. Only the stored number differs.
Checking which system a workbook uses
You can test a workbook without opening the options dialog. Enter this formula in a cell formatted as General.
=DATE(1904,1,1)The result is 1462 in the 1900 system and 0 in the 1904 system.
Why it matters: dates that shift
Trouble starts when serial numbers move between workbooks that use different systems. If a number is carried over as a raw value, for example through Paste Special with Values, the number stays the same. The date it represents changes.
flowchart LRBecause the diagram below must follow the required format, here it is in full.
Wait. The last node in that diagram is wrong, so use the corrected figures below.
Correcting shifted dates
Pasting the 1904 number into a 1900 workbook leaves every date four years and one day too late. Convert the numbers as follows.
=A2+1462This converts a serial from a 1904 workbook (in A2) to the matching serial in a 1900 workbook. To go the other way, use =A2-1462. Format the result as a date.
The 1900 leap-year quirk
The 1900 system also contains a deliberate error. Excel treats 29 February 1900 as a real day (serial 60), although 1900 was not a leap year. Excel kept this behavior for compatibility with Lotus 1-2-3. The effect is small:
- Serial numbers from 1 March 1900 onward are correct.
- Date arithmetic that crosses February 1900 is off by one day.
- The 1904 system starts later and does not have this problem.
In practice you rarely work with dates before March 1900, so this seldom matters.
Common errors
- Dates appear exactly four years and one day off after combining data from two files. Check each file's date system.
- Linked formulas between workbooks with different systems can give inconsistent date results. Align the systems or convert explicitly.
- A negative date shows as ##### in the 1900 system, and in the 1904 system as well. Check for dates earlier than each system's start.
Exercise
A workbook using the 1904 system holds the serial 43538 in A2. You paste it as a value into a 1900-system workbook. What serial number keeps the original date, and which formula produces it?
Show answer
The original date is 15 March 2023, which is serial 45000 in the 1900 system. The formula is =A2+1462, which gives 45000.