|
Posted by Sig on 06/23/07 06:28
On Sat, 23 Jun 2007 01:04:46 -0400 David T. Ashley said
> Is it true on my system that the Unix time may skip up or down by one second
> at midnight when there is a leap second?
>
> By "Unix time" I mean the integer returned by time() and similar functions.
>
> I'm concerned about the "down" case. Some of the software I've written
> assumes monotonically-increasing time.
I don't think you have to worry.
(1) NIST says "Based on what we know about the earth's rotation, it seems
unlikely that we will ever have a negative leap second."
<http://tf.nist.gov/general/leaps.htm#Anchor-52904>
(2) If it did happen, the time would repeat, not go backwards.
Sig
--
http://koiclubsandiego.org/comment/?r=8
9b9a436ac9285567ef58d7d6a4dbb750
Navigation:
[Reply to this message]
|