We should be using TAI64 while we're at it because TAI is monotonic and simple, while leap seconds in UTC / *nix 32-/64-bit epoch really screws up precise date calculations that are almost universally calculated incorrectly, especially when new leap seconds are introduced but not counted in static algorithms that have no such knowledge.
https://cr.yp.to/libtai.html