5 ms·
The problem with Unix milliseconds is it's actually not always increasing thanks to leap seconds. A positive leap second will result in the fractional part of t
by waffle_ss 9y ago
The problem with Unix milliseconds is it's actually not always increasing thanks to leap seconds. A positive leap second will result in the fractional part of the last second of the day going up to .999..., then resetting to .000... over again.
https://en.wikipedia.org/wiki/Unix_time#Leap_seconds https://en.wikipedia.org/wiki/Unix_time#Leap_seconds
- akira2501 9y agoThere's always TAI64. http://dyscour.se/post/12679668746/using-tai64-for-logging http://dyscour.se/post/12679668746/using-tai64-for-logging
- deleted 9y ago[deleted]
- klodolph 9y agoI'm with Google on this one... Just smear the leap seconds out in the general case, and anything that needs to be within 500ms of UTC can be handled as a special case.