*BSD News Article 21823


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!pipex!uknet!mcsun!Germany.EU.net!news
From: bs@Germany.EU.net (Bernard Steiner)
Newsgroups: comp.os.386bsd.questions
Subject: Re: date is wrong
Date: 4 Oct 1993 15:37:02 +0100
Organization: EUnet Deutschland GmbH, Dortmund, Germany
Lines: 16
Distribution: world
Message-ID: <28pcee$t4j@Germany.EU.net>
References: <28pa84$t24@Germany.EU.net> <28pc28$jub@genesis.ait.psu.edu>
NNTP-Posting-Host: qwerty.germany.eu.net


In article <28pc28$jub@genesis.ait.psu.edu>, D. Jay Newman <dn5@psu.edu> writes:
|> I have a similar problem.  I have recompiled the kernel, and I still
|> can't get the date out of PST!
|> 
|> Does anybody have any idea of how to get my date to display in EST?

Have you linked /etc/localtime to the correct timezone file ?

Note: date -u is supposed to display UTC, and thus should (IMHO) just print
out the kernel's idea of what time it is, untranslated. The kernel should only
try to work out what time it is GMT/UTC -wise, from the CMOS clock, and the
CMOS clock may be set to whatever your other operating systems (D*S...) need
it to be set to.

-Bernard