2 min read · Websites and web apps

A date alone and the time an event happened mean different things. The display format differs from the value that is stored and passed between systems. The user's language, calendar and time zone.
Implementation steps
- Separate due dates, birth dates and record times
- Define the input, storage and display formats
- Test crossing midnight, users abroad and file imports
- State the time zone in the reports that need it
Example deliverable
Deliverable: a table of time data types for an appointment system
Benefits
Helps reduce mismatches between due dates and reports.
Limitations and cautions
Simply adding or subtracting years does not cover every case. Use tools that support this, and test with real data.
Starting references
- MDN — Intl.DateTimeFormat
- W3C — Working with Time Zones
References
- MDN — Intl.DateTimeFormat (accessed 2026-11-21)
- W3C — Working with Time Zones (accessed 2026-11-21)




