Reply to Re: Unix Time and Leap Seconds

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация