From owner-freebsd-questions Wed Sep 6 1:40:17 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dazed.slacker.com (dazed.slacker.com [208.15.208.76]) by hub.freebsd.org (Postfix) with SMTP id 12C5537B43E for ; Wed, 6 Sep 2000 01:40:12 -0700 (PDT) Received: (qmail 62907 invoked by uid 1000); 6 Sep 2000 08:40:06 -0000 Date: Wed, 6 Sep 2000 03:40:06 -0500 From: David McNett To: Paul Herman Cc: cjclark@alum.mit.edu, John Turner , freebsd-questions@FreeBSD.ORG Subject: Re: How to force GMT/UTC Message-ID: <20000906034006.B62094@dazed.slacker.com> Mail-Followup-To: Paul Herman , cjclark@alum.mit.edu, John Turner , freebsd-questions@FreeBSD.ORG References: <20000905234426.D69158@149.211.6.64.reflexcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from pherman@frenchfries.net on Wed, Sep 06, 2000 at 10:00:33AM +0200 X-Operating-System: FreeBSD 4.1-STABLE i386 X-Distributed: Join the Effort! http://www.distributed.net/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 06-Sep-2000, Paul Herman wrote: > (Sarcasm aside :) it matters to me. Is there any chance of FreeBSD > reflecting this? In /usr/src/share/zoneinfo/etcetera there seems to > be 0.00 difference between GMT and UTC in both -STABLE and -CURRENT. > > I'm no zoneinfo expert, but I'm willing to work on a patch. Anyone > know off hand where some good detailed docs are on the difference > between GMT/UTC? http://tycho.usno.navy.mil/systime.html will overwhelm you with the gory details of time measurement and, specifically, the differences between GMT and UTC. The Reader's Digest condensed answer is that UTC recognizes leap seconds and GMT does not. The two (GMT and UTC) are guaranteed to never differ by more than 0.9 seconds. Perhaps the more signifigant issue is that NTP, the protocol we all (presumably) use to keep our clocks synchronized is UTC-based. If you're relying on netdate, or ntpd, or xntpd or any equivalent method to keep your system clock synchronized, then you are UTC-synced, and not GMT. There's no way to encode the differential beteen UTC and GMT in a zoneinfo file, as near as I can tell, since the differential is variable. -- ________________________________________________________________________ |David McNett |To ensure privacy and data integrity this message has| |nugget@slacker.com|been encrypted using dual rounds of ROT-13 encryption| |Birmingham, AL USA|Please encrypt all important correspondence with PGP!| To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message