[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
F-ckin Leap Seconds, how do they work?
Once upon a time, Owen DeLong <owen at delong.com> said:
> UTC (and the system clock) should not move backwards, but, rather they repeat
> second 59. UTC goes 58->59->00 most of the time, but during a leap second, it
> should go 58->59->59->00). It's not so much going backwards as dropping a chime.
That would be true if the highest resolution clock was one second, but
that's not the case. Anything that uses gettimeofday() sees time
repeat (which means it counts up to 59.999999 seconds and then goes back
to 59.000000).
--
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
- References:
- F-ckin Leap Seconds, how do they work?
- From: smb at cs.columbia.edu (Steven Bellovin)
- F-ckin Leap Seconds, how do they work?
- From: wolfgang.rupprecht at gmail.com (Wolfgang S. Rupprecht)
- F-ckin Leap Seconds, how do they work?
- From: saku at ytti.fi (Saku Ytti)
- F-ckin Leap Seconds, how do they work?
- From: valdis.kletnieks at vt.edu (valdis.kletnieks at vt.edu)
- F-ckin Leap Seconds, how do they work?
- From: saku at ytti.fi (Saku Ytti)
- F-ckin Leap Seconds, how do they work?
- From: owen at delong.com (Owen DeLong)
- F-ckin Leap Seconds, how do they work?
- From: saku at ytti.fi (Saku Ytti)
- F-ckin Leap Seconds, how do they work?
- From: owen at delong.com (Owen DeLong)
- F-ckin Leap Seconds, how do they work?
- From: saku at ytti.fi (Saku Ytti)
- F-ckin Leap Seconds, how do they work?
- From: owen at delong.com (Owen DeLong)