3 ms·
This is what I'd _like_ to do, but unfortunately it's not well supported. As far as I know, all OSes store the time including leap seconds, so there's no way to
by bajsejohannes 6y ago
This is what I'd _like_ to do, but unfortunately it's not well supported. As far as I know, all OSes store the time including leap seconds, so there's no way to go back to TAI. And even if it were, that time zone is not available in user programs.
edit: Oh, I see that it's available in Linux https://www.man7.org/linux/man-pages/man3/clock_gettime.3.html https://www.man7.org/linux/man-pages/man3/clock_gettime.3.ht... . Can't find similar calls for Windows or OSX
- tleb_ 6y ago> The acronym TAI refers to International Atomic Time. Good one. Wikipedia[0] is more helpful and states it comes from "temps atomique international" which is french. [0]: https://en.wikipedia.org/wiki/International_Atomic_Time https://en.wikipedia.org/wiki/International_Atomic_Time