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

Posted by Unruh on 06/30/07 18:56

"David T. Ashley" <dta@e3ft.com> writes:

>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?

It might. If you are running ntp.


>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.

The time is ALWAYS monotonically increasing.

Sometime it may be very slow.



>Thanks.
>--
>David T. Ashley (dta@e3ft.com)
>http://www.e3ft.com (Consulting Home Page)
>http://www.dtashley.com (Personal Home Page)
>http://gpl.e3ft.com (GPL Publications and Projects)

 

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

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