←back to thread

189 points rmason | 1 comments | | HN request time: 0.37s | source
Show context
zokier ◴[] No.44371602[source]
It is a pet peeve of mine, but any statement that implies that Unix time is a count of seconds since epoch is annoyingly misleading and perpetuates such misconception. Imho better mental model for Unix time is that has two parts, days since epoch * 86400, and seconds since midnight, which get added together.
replies(2): >>44371952 #>>44374623 #
charcircuit ◴[] No.44371952[source]
How is it misleading? The source code of UNIX literally has time as a variable of seconds that increments every second.
replies(1): >>44372426 #
adgjlsfhk1 ◴[] No.44372426[source]
leap seconds
replies(1): >>44372901 #
1. LegionMammal978 ◴[] No.44372901[source]
Also, UTC had a different clock rate than TAI prior to 1972. And TAI itself had its reference altitude adjusted to sea level in 1977.