Legacy schema traps · Dates and time
Why do I see orders due on 31 December 9999?
Because 31 December 9999 means “no end date”. Systems store placeholder values such as 99991231, 0 or 1900-01-01 instead of an empty field, and they must be read as “none”.
Run the free schema checkFree · five minutes · only schema and aggregates leave you
What it looks likeIllustrative
CONTRACT.ENDDATE=99991231 for every running contract.
All table and column names are invented.
Why reports and AI agents get it wrong
Averages and “due this year” questions include them as real dates.
A first check you can run
Most frequent values in date columns, and values at the far ends.
Read-only and on the catalogue or aggregates: it looks at structure and value counts, not at individual records.
How Janus Works handles it
Sentinels are mapped to “none” in every tool.
Every number verified against your own screens. Deviations shown, never hidden.
Run the free schema checkFind the traps in your own database. Free schema check, five minutes.