Re:Falsehoods programmers believe about time and time zones
by leni536 on Monday April 18, 2016 @03:59AM
(#11518363)
I just checked if you can get around it by using unix time, but holy shit, it is poorly designed. Unix' seconds since epoch is not the actual absolute number of seconds since 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970, it doesn't count leap seconds. I wonder if you can even get a reliable TAI from linux, so you can abandon all this shit and implement proper time handling yourself.
Edit: Seems like we can specify CLOCK_TAI for clk_id on linux now.
Edit: Seems like we can specify CLOCK_TAI for clk_id on linux now.