DECENTRALISED NEWS · SPREADSHEET DATA QUALITY · 2027 GUIDE
An export says a transaction belongs in 2027. The source team remembers 2023. The amount, description and row identifier match, so the date difference starts to look like a serious accounting problem. Before rewriting the record, inspect how the spreadsheet’s underlying number became a calendar date.
Excel’s 1900 and 1904 date systems can interpret the same serial as dates 1,462 days apart. That pattern is a diagnostic clue. It becomes an explanation only when the workbook setting, preserved numeric value and importing process support it. A plausible-looking date is not enough evidence to change a real transaction’s period.
Checked 29 November 2026 for the 2027 edition. This guide includes two original synthetic XLSX workbooks, independently executed examples and a local diagnostic worksheet. No customer ledger, tax export or AI model output was used. The example diagnoses a representation issue; it does not establish when an actual event happened.
A serial needs its date system
A numeric spreadsheet date is a count interpreted using a defined origin. Microsoft’s date-system guide gives a useful control: 5 July 2011 is serial 40729 in the 1900 system and 39267 in the 1904 system. Their difference is 1,462. The calendar date stays the same while its numeric representation changes.
The reverse question is different: what happens when the number stays the same and its interpretation changes? Our invented serial 45000.5 represents 15 March 2023 at 12:00 under the 1900 system. Under the 1904 system it represents 16 March 2027 at 12:00. The number alone cannot tell you which interpretation the source intended.
| Question | 1900 system | 1904 system |
|---|---|---|
| Represent the same calendar date | 40729 → 2011-07-05 | 39267 → 2011-07-05 |
| Interpret the same raw serial | 45000.5 → 2023-03-15 12:00 | 45000.5 → 2027-03-16 12:00 |
Neither row is a timezone conversion. Both dates in the second row have the same time-of-day component. No UTC offset, location or daylight-saving rule has been supplied.
Read the workbook setting before changing a value
The setting belongs to the workbook. Microsoft documents it in the application’s workbook calculation options, and the Excel object model exposes Workbook.Date1904, which is true for the 1904 system. Inspect the current file instead of inferring its setting from the author’s operating system, the filename or its apparent age.
For an XLSX package, the documented date1904 attribute belongs to workbookPr. Our fixtures make that property explicit: one has date1904="0", the other date1904="1". The included inspection script reads the package property and the numeric cell separately.
Also record the cell’s type and number format. This guide concerns a numeric date serial. A text value such as 03/04/2027 raises a different parsing question. An elapsed duration formatted as hours may not be a calendar date at all. A date-looking format can make a number easy to read without proving what the source field means.
The original experiment: one number, two workbook flags
DN created two small workbooks with the same numeric input in B6: 45000.5. B7 takes its integer part, B8 takes the day fraction, and B9 expresses that fraction in seconds. B11 is a date-formatted formula pointing to B6. The visible system label is a description of the fixture, not a control that changes workbook settings.
The files’ explicit date-system flags differ. Reading the package confirms that the B6 input and B11 stored numeric value remain 45000.5 in both files. Independent calendar arithmetic produces the dates below. A read-only openpyxl 3.1.5 inspection and the installed LibreOffice reader agreed with those results.
| Fixture | Explicit flag | Raw serial | Interpreted date and time |
|---|---|---|---|
| serial-1900.xlsx | date1904=0 | 45000.5 | 2023-03-15 12:00:00 |
| serial-1904.xlsx | date1904=1 | 45000.5 | 2027-03-16 12:00:00 |
The second interpretation is exactly 1,462 calendar days later. Both retain noon. These are manufactured teaching files, not evidence that a particular company imported its records incorrectly. Their purpose is to give a pipeline a known input whose expected interpretation can be checked before it handles an important export.
Preserve the fraction and keep the timezone unresolved
Microsoft describes times as decimal fractions of a day. In our example, 0.5 × 24 hours is 12 hours. A fraction of 0.25 is 06:00; 0.75 is 18:00. Dropping the fraction preserves the calendar day but discards the time of day.
Keep that calculation separate from an epoch timestamp. The figure 43,200 in B9 means seconds within this half-day example. It is not a claim that an event occurred 43,200 seconds after the Unix epoch. Giving the same digits a different unit and origin changes the meaning completely.
The browser worksheet retains the serial you enter and displays time to whole milliseconds. It truncates a smaller remainder down rather than carrying it into the next day, and explicitly reports when a nonzero remainder was omitted. That is this diagnostic’s display rule, not a claim about every spreadsheet importer’s rounding.
The openpyxl date documentation distinguishes these timezone-free representations. Keep any real timezone or event definition in a separate, evidenced field. DN’s timestamp uncertainty guide addresses the later question of comparing events and clocks.
Serial 60 needs an explicit exception
Excel retains a historical assumption that 1900 was a leap year, even though it was not. Microsoft’s explanation of the compatibility behaviour documents the issue. In the 1900 serial sequence, day 60 occupies the nonexistent 29 February 1900.
This diagnostic therefore refuses to assign a Gregorian date to 60 or any fractional value from 60 up to, but not including, 61 under the 1900 system. It does not quietly substitute 28 February or 1 March. Under the 1904 system, serial 60 is an ordinary valid date: 1 March 1904.
| System and serial | Diagnostic result |
|---|---|
| 1900: 1 | 1900-01-01 |
| 1900: 59 | 1900-02-28 |
| 1900: 60.5 | No valid Gregorian date; controlled rejection |
| 1900: 61 | 1900-03-01 |
| 1904: 0 | 1904-01-01 |
| 1904: 59 | 1904-02-29 |
| 1904: 60 | 1904-03-01 |
The initial serials follow Microsoft’s date-system record documentation: 1 January 1900 starts at 1, while 1 January 1904 starts at 0. That source describes binary XLS records; the XLSX fixture uses the separate Open XML attribute described above.
There is a further boundary worth retaining. Comparing the same small serial before the fictitious leap day can produce a 1,461-day gap between its two valid calendar interpretations. This does not invalidate the 1,462 conversion for the same date within the systems’ shared supported range. It shows why a blanket offset is an inadequate historical parser.
DN Excel Date-System Diagnostic
Enter a preserved numeric serial and deliberately select the workbook system established from your source. The alternative column is a comparison for diagnosis. It does not identify the correct system for you or authorize a date change.
Plain nonnegative decimals, up to ten fractional digits. The tool supports calendar dates through 9999-12-31; the 1900 range starts at serial 1 and excludes the whole serial-60 day. The 1904 range starts at serial 0. Negative dates and time-only 1900 values below 1 are outside this diagnostic.
Example: 45000.5 means 2023-03-15 at 12:00 under 1900, or 2027-03-16 at 12:00 under 1904. Select the documented system before calculating. The result keeps the timezone unspecified.
Build a diagnosis before proposing a correction
Preserve the received workbook and identify the exact sheet, cell and record. Capture its raw numeric value, relevant number format and date-system property. Then record what the importing tool returned and the mode used. This creates a comparison another reviewer can repeat without depending on a screenshot.
Next, locate a small set of independently documented dates from the same export. Compare their original records with the serial interpretations. A consistent 1,462-day pattern across appropriate records supports the date-system hypothesis. A mixed pattern may indicate multiple sources, prior conversions, text parsing or a different issue. Investigate the pattern before applying one rule to every row.
Ask whether a conversion has already happened. An importer may correctly transform a serial into a calendar value, after which adding an offset would introduce a new error. Save the representation at each boundary: raw numeric serial, interpreted calendar value and any later timestamp with an explicit timezone. Those are separate states.
Finally, have the source owner confirm which interpretation is authoritative and what representation the receiving system expects. Keep the original and create a separately identified output if an approved conversion is needed. Reconcile representative records, reporting cutoffs and downstream totals against that policy. The diagnostic itself does not classify a transaction into a fiscal or taxable period.
Do not confuse this with a stale formula or a parsing problem
A cached formula result can be old even when the workbook’s date system is correct. Conversely, a fresh numeric result can be interpreted using the wrong date origin. DN’s cached-value experiment isolates the first issue; the present fixtures isolate the second.
Locale parsing can swap a day and month in ambiguous text. A missing timezone can move an event across midnight when it is later assigned an offset. A serial system mismatch can move a modern date by roughly four years. These patterns help choose the next check, but none substitutes for the actual field definition and source evidence.
Download and reproduce the evidence
Download the two workbook fixtures, inspection script and browser answer keys. The pack retains the original raw numbers, explicit system flags and expected results. Its standard-library Python checks inspect package XML and compute the declared calendar examples; an optional read-only openpyxl check runs when that package is already installed. The Node.js checks exercise the browser calculation separately.
The workbooks were authored and their simple formulas checked with Artifact Tool. The documented date1904 property was then set explicitly in each controlled package; the change affects only the workbook metadata part. The pack records file hashes and verifies that inspection leaves the files unchanged. Its native-reader record identifies the installed LibreOffice build and the observed CSV exports. Native Microsoft Excel was not run.
The results establish the behaviour of these synthetic fixtures and tested readers. They do not certify every spreadsheet engine, historical date convention or real export. For an organisation’s actual source-to-import workflow, DN Research Desk can scope a review around the files, importer and acceptance evidence. The public diagnostic and download remain usable without a paid data service or account connection.
Frequently asked questions
Does a 1,462-day shift prove that the workbook date system is wrong?
No. It is a strong diagnostic clue for this particular mismatch, but you still need the preserved serial, workbook setting and importer behaviour. A different date may also reflect a genuinely different source record.
Should I add 1,462 to every date from a Mac workbook?
No. Establish the actual workbook system and whether conversion has already occurred. Operating system and file age do not establish the setting. Apply a documented conversion only to the affected representation and retain the original values.
What happens to serial 60 in the 1900 system?
It corresponds to Excel’s legacy nonexistent 29 February 1900. This diagnostic rejects the entire serial-60 day, including fractional values such as 60.5, instead of assigning a nearby Gregorian date.
Does the decimal fraction supply a timezone?
No. A fraction such as 0.5 identifies half a day, or 12:00 as a time of day. It does not establish UTC, a local timezone, daylight-saving treatment or what event the field records.
Can the browser worksheet inspect or repair my workbook?
No. It interprets a manually supplied serial under the system you explicitly select. The downloadable script inspects the two supplied fixtures. Neither tool edits a real accounting file or assigns a tax or reporting period.
Primary sources and method record
Microsoft’s date-system, Open XML and 1900 leap-year documents are linked beside the relevant claims. The exact openpyxl read options are retained in the execution record. Sources were checked on 29 November 2026. All fixture values, diagnostic rules, code and answer keys are DN’s original educational work; the supplied files contain no financial transaction history.
Download the dated worked example, checks and source record. The original local calculation code is available for reproduction.




