All guides

Excel 1904 date system: fix dates shifted by 1,462 days

Dates four years and a day out? Check the workbook’s 1904 date system, confirm the raw serial, then add or subtract 1,462 once, on a working copy.

Method8 min read
A practical guide to reviewing your catalogues.
View sources
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 dateSerial, 1900 systemSerial, 1904 system
1 January 190414620
5 July 20114072939267
1 January 20274638844926

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:

  1. Work on a copy. Never inspect or change the supplier’s original file.
  2. Read the workbook setting. An .xlsx file is a ZIP package. In xl/workbook.xml, the date1904 attribute of the workbookPr element selects the system: 1 or true means 1904; 0, false or an absent attribute means 1900. ECMA-376, Part 1, documents this setting.
  3. 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, 46388 means the cell was written under the 1900 system; 44926 means 1904.
  4. 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 seeLikely causeCorrection on the raw serial
28 February 2023: four years and one day too earlyA 1904 serial read as 1900Add 1,462
2 March 2031: four years and one day too lateA 1900 serial read as 1904Subtract 1,462
One day out, day and month swapped, or another offsetText parsing, day/month convention or time zoneDo 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

  1. 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.
  2. 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.
  3. 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 +1462 would damage a correct date.
  4. 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.
  5. 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.

StepRaw serialRead asDisplayed date
Value written by the supplier449851904 system1 March 2027
Value read by the importer449851900 system28 February 2023
Corrected once (44985 + 1462)464471900 system1 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 46446 in 1900, 44984 in 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

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.

Back to guides & resources

Request access to CatalogInspect.

Enter your work email address to request access to CatalogInspect.

Submitting sends your request to BankStatementLab’s infrastructure for CatalogInspect. It does not create an account, trigger a payment or send an automatic email. Privacy.