Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42354 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51806 invoked from network); 19 Dec 2008 16:45:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Dec 2008 16:45:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=tstarling@wikimedia.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=tstarling@wikimedia.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain wikimedia.org from 66.111.4.25 cause and error) X-PHP-List-Original-Sender: tstarling@wikimedia.org X-Host-Fingerprint: 66.111.4.25 out1.smtp.messagingengine.com Received: from [66.111.4.25] ([66.111.4.25:43194] helo=out1.smtp.messagingengine.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E6/30-49743-C8FCB494 for ; Fri, 19 Dec 2008 11:45:01 -0500 Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id CF40F1EA2B9; Fri, 19 Dec 2008 11:44:57 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Fri, 19 Dec 2008 11:44:57 -0500 X-Sasl-enc: 85KRJmdje1VxpSG9SyMiSklH2X9bLK+XgsZU3/+naEEv 1229705097 Received: from [192.168.0.103] (CPE-144-136-114-224.nsw.bigpond.net.au [144.136.114.224]) by mail.messagingengine.com (Postfix) with ESMTPSA id C556433341; Fri, 19 Dec 2008 11:44:56 -0500 (EST) Message-ID: <494BCF81.6080900@wikimedia.org> Date: Sat, 20 Dec 2008 03:44:49 +1100 User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: RQuadling@GoogleMail.com CC: PHP Developers Mailing List References: <10845a340812180420w1ed3cd51lfc416d9a15b7df52@mail.gmail.com> In-Reply-To: <10845a340812180420w1ed3cd51lfc416d9a15b7df52@mail.gmail.com> X-Enigmail-Version: 0.95.0 OpenPGP: id=BF976370 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] 2008 is 1s longer than normal. From: tstarling@wikimedia.org (Tim Starling) Richard Quadling wrote: > Hi. > > With 2008 having a leap-second, does PHP handle this? > > In looking at http://en.wikipedia.org/wiki/Leap_second, there have > been quite a few leap seconds - 34 since Jan 1st 1972. > > So, if PHP isn't making any changes does this mean PHP time is 34 > seconds behind UTC? > Unix time conventionally does not include leap seconds. This allows ordinary applications to convert seconds-since-epoch to calendar dates without any knowledge of leap seconds. Ntpd is tasked with changing the system clock to account for this, ultimately in response to a leap second change propagated from the stratum 1 time servers. http://www.eecis.udel.edu/~mills/leap.html -- Tim Starling