|
|
|
|
|
by 1letterunixname
1326 days ago
|
|
Real-time: TAI64 TAI or go home. Earth time: UT (UT1). UTC is a vague approximation of UT1 using TAI and a leap seconds data source similar to tzdata. On most modern CPUs, there is an accurate monotonic counter. The problem though is it doesn't know anything about when it was started or when it went to sleep in any time system. Oh and bugs. Some systems interpret edge cases in one way, and others in others. Academic purity, interoperability: pick 1. And then calendars are discontinuous through the years: October 15, 1582 and twice in 1752. They also vary by country which calendar system was in use when. The Julian and Gregorian calendars were in dual use until 1923. Daylight savings time rules change. Timezones change. And then you get tzdata. https://www.stjarnhimlen.se/comp/time.html https://cr.yp.to/proto/utctai.html |
|