Approaching Challenges in Representations of Date–Time Ambiguities
Inconsistencies in Earth’s spinning, changes in calendar systems, etc., necessitate time being represented correspondingly. Date–time handling in programming involves specific challenges, including conflicts between calendars, time zone discrepancies, daylight savings, and leap second adjustments—issues that other data types like numbers and text do not encounter. This article identifies these challenges and investigates existing approaches to date–time representation. Limitations in current systems, including how leap seconds, time zone variations, and inconsistent calendar representations complicate date–time handling, is examined. Inconsistent date–time representations imply significant challenges, especially when considering the interplay of leap seconds and time zone shifts. This study highlights the need for a new approach to date–time data types addressing these problems effectively. The article reviews existing date–time data types and explores their shortcomings, proposing a theoretical framework for a more robust solution. The study suggests that an improved date–time data type could enhance time resolution, support leap seconds, and offer greater flexibility in handling time zone shifts. Such a solution would provide a more reliable alternative to current systems. By addressing issues like leap second handling and time zone shifts, the proposed framework demonstrates the feasibility of a new date–time data type, with potential for broader adoption in future systems.
Authors
- Kamilla Klonowska (ORCID: https://orcid.org/0000-0002-5779-381X)
- Daniel Einarson (ORCID: https://orcid.org/0000-0002-6519-5051)
- Amer Harb
Institutions
- Kristianstad University (SE)
Publication Details
- Journal
- Computers
- Published
- 2025-10-24
- DOI
- https://doi.org/10.3390/computers14110461
- Primary Topic
- Historical Astronomy and Related Studies
- Type
- article
- Field-Weighted Citation Impact
- 0.00