|
|
|
|
|
by layer8
1279 days ago
|
|
Unix/Posix time doesn’t include leap seconds (it’s 86400 seconds per day, always, per definition [0]), whereas UTC, taken as a count of actual seconds, does include leap seconds. So you are right that converting between them requires additional data. However, few applications care about converting between Unix time and that notion of UTC, but instead care about converting between Unix time and calendar dates and times of day and time zones, which is easier with Unix time than with a UTC seconds count. So I think you’re mixing things up here. [0] https://en.wikipedia.org/wiki/Unix_time#Definition |
|
So it's incorrect to say that Unix time does not include leap seconds.