From owner-freebsd-questions@FreeBSD.ORG Fri Feb 2 16:36:38 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CE6D316A400 for ; Fri, 2 Feb 2007 16:36:38 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 96C4413C478 for ; Fri, 2 Feb 2007 16:36:38 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.6/8.13.8) id l12GabNL077294; Fri, 2 Feb 2007 10:36:37 -0600 (CST) (envelope-from dan) Date: Fri, 2 Feb 2007 10:36:37 -0600 From: Dan Nelson To: Robert Fitzpatrick Message-ID: <20070202163637.GC44511@dan.emsphone.com> References: <1170430862.16189.8.camel@columbus.webtent.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1170430862.16189.8.camel@columbus.webtent.org> X-OS: FreeBSD 6.2-STABLE User-Agent: Mutt/1.5.13 (2006-08-11) Cc: FreeBSD Subject: Re: Determining daylight savings changes on BSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 16:36:38 -0000 In the last episode (Feb 02), Robert Fitzpatrick said: > I use the following command on our CentOS Linux servers to find out > if the system is ready for the daylight savings changes coming up, > but it does not seem to work the same on our FreeBSD 5.4 and 6.1 > servers. How can I do this? I see the zdump command and the man page > seems to suggest the same usage, but... > > esmtp# zdump -v US/Eastern | grep 2007 > esmtp# zdump -v US/Eastern > US/Eastern Fri Dec 13 20:45:52 1901 UTC = Fri Dec 13 20:45:52 1901 UTC isdst=0 gmtoff=0 > US/Eastern Sat Dec 14 20:45:52 1901 UTC = Sat Dec 14 20:45:52 1901 UTC isdst=0 gmtoff=0 > US/Eastern Mon Jan 18 03:14:07 2038 UTC = Mon Jan 18 03:14:07 2038 UTC isdst=0 gmtoff=0 > US/Eastern Tue Jan 19 03:14:07 2038 UTC = Tue Jan 19 03:14:07 2038 UTC isdst=0 gmtoff=0 That means you need to update your zoneinfo tables. You can also use the date command to see if you need updating: date -r 1173679260 If that prints "Mon Mar 12 02:01:00 EST 2007" you know you need to update. -- Dan Nelson dnelson@allantgroup.com