Joe Touch <touch@xxxxxxx> wrote:
>
> You're right; I got it backwards. Except it admits it's an approximation:
> "A value that approximates the number of seconds that have elapsed since
> the Epoch."
Thank you :-)
This kind of confusion is why leap seconds don't work in practice.
> However, when you are computing epoch time from UTC, you'd have to
> account for the leap seconds since epoch to correct for the difference
> in actual elapsed seconds.
POSIX and NTP say you aren't allowed to account for leap seconds when computing seconds since the epoch from UTC.
Tony.
--
f.anthony.n.finch <dot@xxxxxxxx> http://dotat.at/ - I xn--zr8h punycode