In this guide 8 sections
A date that is exactly 1,462 days out, four years and one day, almost always means that a serial number written under Excel’s 1904 date system was read under the 1900 system, or the reverse. Fix it by declaring the right date system to the reader, or by adding or subtracting 1,462 once, and only on raw serials that have not been converted yet.
The shift is not a commercial change: the supplier did not move the date, the file was decoded with the wrong starting point. In a supplier price list it pushes an effective date four years into the past or the future, so settle it before you look for overlaps and gaps between price effective dates or run the ERP supplier catalogue import checklist.
What is the 1904 date system in Excel?
A spreadsheet stores a date as a serial number: a count of days, with an optional fraction for the time of day. What you see in the cell is only formatting. Two counting bases exist, and each workbook declares one of them:
- 1900 date system: 1 January 1900 is serial 1. Most workbooks use it.
- 1904 date system: 1 January 1904 is serial 0. Older workbooks, and files created from them, may still carry it.
The same calendar date therefore has two serials, always 1,462 apart:
| Civil date | Serial, 1900 system | Serial, 1904 system |
|---|---|---|
| 1 January 1904 | 1462 | 0 |
| 5 July 2011 | 40729 | 39267 |
| 1 January 2027 | 46388 | 44926 |
40729 − 39267 = 1462. Both serials encode 5 July 2011; only the declared base differs. The gap is usually described as four years and one day because the 1900 count starts at 1 and includes a 29 February 1900 that never existed in the Gregorian calendar.
How do you check which date system a workbook uses?
Check the file itself rather than the way dates look on screen:
- Work on a copy. Never inspect or change the supplier’s original file.
- Read the workbook setting. An
.xlsxfile is a ZIP package. Inxl/workbook.xml, thedate1904attribute of theworkbookPrelement selects the system:1ortruemeans 1904;0,falseor an absent attribute means 1900. ECMA-376, Part 1, documents this setting. - Test a known date. Find a cell whose date you know for certain and display its raw number instead of a date. For 1 January 2027,
46388means the cell was written under the 1900 system;44926means 1904. - Record the result per file. Note the date system, the column type and the importer’s expected format next to each edition you receive.
A CSV export carries no date-system flag at all. If a CSV column holds serial numbers rather than date text, the sender must state which base produced them; the CSV import settings for UTF-8, delimiters and quotes explain how to load such a column as text first so it is not reinterpreted on the way in.
Which way did the dates shift?
The direction of the error tells you which correction applies. The examples below use a synthetic effective date of 1 March 2027 (serial 46447 in the 1900 system, 44985 in the 1904 system).
| What you see | Likely cause | Correction on the raw serial |
|---|---|---|
| 28 February 2023: four years and one day too early | A 1904 serial read as 1900 | Add 1,462 |
| 2 March 2031: four years and one day too late | A 1900 serial read as 1904 | Subtract 1,462 |
| One day out, day and month swapped, or another offset | Text parsing, day/month convention or time zone | Do not apply 1,462 |
If only some rows are shifted, the column mixes sources: rows pasted from another workbook, rows typed as text, or rows already corrected once. Investigate their types and provenance before changing the whole column.
How to fix a 1,462-day shift without damaging correct dates
- Fix the interpretation first. Declare the source date system to the reader or importer. When the reader respects the source system, no value needs to change.
- Convert only in a working column. If you must re-encode values for a destination that uses the other system, keep the original serial in its own column and write the result next to it.
- Confirm every row is an unconverted serial. A date already decoded by the reader, a correctly parsed date text or a copy that was converted automatically needs no adjustment. A second
+1462would damage a correct date. - Apply the offset once and record its direction. From the 1904 system to the 1900 system, add 1,462:
39267 + 1462 = 40729. From 1900 to 1904, subtract 1,462:40729 − 1462 = 39267. - Re-test the known date. With the destination system declared, 5 July 2011 must still display as 5 July 2011. The operation changes the encoding of the date, not its commercial meaning.
Do not switch the workbook’s date-system setting to make the display look right. The setting reinterprets every serial already stored in that workbook, so dates that were correct move by 1,462 days in turn. Change it, if at all, on a copy and check how existing values and formulas respond.
Apply the offset only to dates that exist in both systems, from 1 January 1904 onward. In the 1900 system, flag serial 60 separately: it stands for 29 February 1900, which the Gregorian calendar does not have. If a fraction carries a time, keep the fraction and check the resulting time.
Worked example: a shifted price effective date
In this fictitious case, a supplier sends a price list from a workbook that uses the 1904 date system. Product code AB-1042 moves from €8.20 to €8.50 on 1 March 2027. The importer assumes the 1900 system.
| Step | Raw serial | Read as | Displayed date |
|---|---|---|---|
| Value written by the supplier | 44985 | 1904 system | 1 March 2027 |
| Value read by the importer | 44985 | 1900 system | 28 February 2023 |
Corrected once (44985 + 1462) | 46447 | 1900 system | 1 March 2027 |
Uncorrected, the new price appears to have applied for four years and overlaps the previous one. After a single correction, the serial and the declared system agree again, and the price change lands on its real date.
The same check matters for FAB-DIS 3.0 files. In the B00 cartouche block, the FAB-DIS 3.0 guide to mandatory blocks states that DATEDIT and DATEAPPLI cannot be earlier than the current date; a date pushed four years into the past by a date-system mismatch would contradict that rule.
Checks before you load the dates
- Known dates: one date you can confirm with the supplier, a month end (28 February 2027 is
46446in 1900,44984in 1904) and a year boundary (31 December 2026 and 1 January 2027). - Day, month and year components: compare them separately; a date format can hide a wrong year.
- Empty cells: an empty cell must stay empty. A blank turned into serial 0 becomes an artificial reference date that looks valid.
- Formula results: if the date comes from a formula, check the stored result the importer actually reads; the Excel formula cache and stale catalogue values can differ from what the screen shows.
- Text dates: separate them from numeric serials and confirm the day/month convention for ambiguous strings such as
03/04/2027. - Time zones: a civil date without a time should not receive an arbitrary time zone. If times are supplied, document their meaning separately.
- Failures: keep invalid values and conversion failures visible, with the source row, so a reviewer can tell a decoding mistake from a genuine supplier revision.
Limits of the 1,462-day correction
The correction only repairs a mismatch between two numeric date bases. It does nothing for dates stored as text, day/month swaps, time-zone shifts or a value already corrected once. It also cannot tell you whether the supplier really changed a date: for that, compare the new edition with the previous one field by field, as in this sample difference report between two catalogue editions.
Frequently asked questions
What is the 1904 date system in Excel?
It is one of two ways a workbook counts dates. In the 1904 system, 1 January 1904 is serial 0, while in the 1900 system the same day is serial 1462, so every date has two serial numbers 1,462 apart.
Why are my dates four years and one day off?
A serial number written under one date system was read under the other. Dates that come out too early usually mean a 1904 serial read as 1900; dates that come out too late mean the reverse.
Should I switch the workbook to the 1900 date system?
Not as a quick fix. The setting reinterprets every serial already stored in the workbook, so correct dates move as well; declare the source system to the reader, or convert raw serials once in a working column.
Does a CSV file keep the 1904 date system?
No. A CSV holds text and carries no date-system flag, so any serial numbers it contains must come with a statement of the base that produced them.
Is adding 1,462 always the right correction?
Only for raw serials that have not been converted yet and whose source and destination systems are confirmed. A one-day offset, a day/month swap or a date already corrected once has another cause, and a second adjustment would damage it.
Official sources & scope
- ECMA-376 — Office Open XML, Part 1 (new tab)Accessed on
This guide describes a working method. The examples are fictional; the official documentation remains the reference for the format rules. CatalogInspect is an independent service.