From owner-freebsd-questions Mon Oct 11 17:42:22 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 2EC9614A0E for ; Mon, 11 Oct 1999 17:42:18 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id UAA32664; Mon, 11 Oct 1999 20:45:22 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199910120045.UAA32664@cc942873-a.ewndsr1.nj.home.com> Subject: Re: XClock UTC? In-Reply-To: <7ttpta$1ldc$1@bigeye.rhein-neckar.de> from Christian Weisgerber at "Oct 12, 1999 00:55:38 am" To: naddy@mips.rhein-neckar.de (Christian Weisgerber) Date: Mon, 11 Oct 1999 20:45:22 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Christian Weisgerber wrote, > Crist J. Clark wrote: > > > Is there a way to get it to display UTC (equivalent of 'date -u') > > rather than local time? > > $ TZ=UTC xclock & Thanks. Should have thought of that trick. > > For that matter, is there a way to feed it a strftime(3)-style > > argument? > > No. What would you want to do with such an argument? For one thing, I really don't need to be reminded what year it is every time I look at the clock. Second, if I don't feel like updating the clock every second or two, why bother with the seconds field at all. Quite a few other variations I could think of. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message