*BSD News Article 11690


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA1942 ; Tue, 23 Feb 93 17:14:00 EST
Newsgroups: comp.os.386bsd.misc
Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sunic!seunet!pipex!pavo.csi.cam.ac.uk!camcus!pc123
From: pc123@cus.cam.ac.uk (Pete Chown)
Subject: Re: bsd has wrong date (-1 day)
In-Reply-To: hg926cy@unidui.uni-duisburg.de's message of 22 Feb 1993 16:00:02 +0100
Message-ID: <PC123.93Feb22211035@bootes.cus.cam.ac.uk>
Sender: news@infodev.cam.ac.uk (USENET news)
Nntp-Posting-Host: bootes.cus.cam.ac.uk
Organization: U of Cambridge, England
References: <hg926cy.730393047@unidui>
Date: Mon, 22 Feb 1993 21:10:40 GMT
Lines: 27

In article <hg926cy.730393047@unidui> hg926cy@unidui.uni-duisburg.de (Cyrus) writes:

   Is it a kown problem?:
   After every boot I have to fix the date to the current.
   It's always one day back.
   But the CMOS has the right date.
   Any hints?

Change which side of the international date line you are on!  In your
timezone file, you swap it by changing, for example GMT minus fourteen
hours to GMT plus ten hours.

Incidentally the timezone module assumes you have (I think) Pacific
time set in your CMOS, and want this corrected before being used.  In
fact this is not so, of course - you set the local time in your CMOS
and don't want it messed with at all before you use it.  So you think
that you put a zero in your timezone file?  Wrong.  Because in the
timezone file you say how far ahead of or behind GMT you are.  So you
actually put +16.  This makes everything even out and you get given
the time that is set in the CMOS.

At least I think this is how it works, it's a while since I did
anything with it, and it's totally baffling.
--
---------------------------------------------+ "A tight hat can be stretched.
Pete Chown, pc123@phx.cam.ac.uk (Internet)   |  First damp the head with steam
            pc123@uk.ac.cam.phx (Janet :-)  -+  from a boiling kettle."