3 ms·
Or we would use the NTP timestamp directly (or a lower precision version) as time_t, which (AFAIK) doesn't suffer from leap seconds. On can always convert time_
by leni536 10y ago
Or we would use the NTP timestamp directly (or a lower precision version) as time_t, which (AFAIK) doesn't suffer from leap seconds. On can always convert time_t to truct tm, tm_sec is defined to be in the range of [0..60].
- leni536 10y agoLooks like I was wrong: https://www.eecis.udel.edu/~mills/leap.html https://www.eecis.udel.edu/~mills/leap.html