Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Oct 1999 20:45:22 -0400 (EDT)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        naddy@mips.rhein-neckar.de (Christian Weisgerber)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: XClock UTC?
Message-ID:  <199910120045.UAA32664@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <7ttpta$1ldc$1@bigeye.rhein-neckar.de> from Christian Weisgerber at "Oct 12, 1999 00:55:38 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Christian Weisgerber wrote,
> Crist J. Clark <cjclark@home.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910120045.UAA32664>