Re:Insane complexity of calendrically correct date and time ...
by aidenn0 on Thursday September 20, 2018 @05:30PM
(#18035634)
No, because unix times can repeat in the case of leap-seconds (this is necessary to be able to represent future times correctly).
[ Parent
| on HN ]
Re:Insane complexity of calendrically correct date and time ...
by teddyh on Thursday September 20, 2018 @06:28PM
(#18035940)
You can avoid repetitions by using clock_gettime(CLOCK_MONOTONIC, …).