4 ms·
I don't get why the RTC doesn't use seconds since some epoch. Encoding calendar in hardware/firmware feels wrong. Somewhat on a tangent, why don't we use TAI i
by anticristi 5y ago
I don't get why the RTC doesn't use seconds since some epoch. Encoding calendar in hardware/firmware feels wrong.
Somewhat on a tangent, why don't we use TAI in hardware, since UTC is discontinuous?
- russdill 5y agoProbably has to do with hardware and firmware roots. Building an RTC that is programmable with year, month, day, hour, minute, second without multiplication and division is much much easier if you store the date time in year, month, day, hour, minute, second. You just need some simple comparisons whenever there is a rollover.
- wiml 5y agoApparently the comparisons aren't simple enough that people get them right, though.