You are here: Re: Unix Time and Leap Seconds « PHP Programming Language « IT news, forums, messages
Re: Unix Time and Leap Seconds

Posted by Jerry Stuckle on 06/23/07 11:28

David T. Ashley wrote:
> I have Red Hat Enterprise Linux 4.
>
> I was just reading up about UTC and leap seconds.
>
> 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.
>
> Thanks.

Bad programming. What happens, for instance, if the clock on your
server is "corrected" back five seconds (possibly because it's running
fast)?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this 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

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