*BSD News Article 23090


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
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!xlink.net!subnet.sub.net!nadia!delos!luva!migieger
From: migieger@luva.stgt.sub.org
Subject: *BSD: system time and all the rest
Organization: private FreeBSD site
Date: Sat, 30 Oct 1993 17:59:18 GMT
Message-ID: <CFq1z9.65@luva.stgt.sub.org>
Lines: 24


Hi,

this one is easy, I'm sure, but to difficult for me :-(
Ever since I'm using 386bsd and now FreeBSD I have problems
with the system time...
My CMOS clock is set to GMT, my timezone is 1 hour earlier
and so I config'ed my kernel to -1 (note: w/o dst).
/etc/localtime is /usr/share/zoneinfo/MET (I even erased
/etc/localtime - but this was a BAD idea: uucp didn't work).

Now the curious part:
Invoking date gives me a time 2 hours to early (!)
Invoking date -u makes a difference of 3 hours.
(i.e. CMOS time is 16.00 h, date gives 15.00 h,
date -u gives 14.00 h, correct time would be 17.00 h)

Any help?
Michael.

-- 
------------------------------+------------------------------
Michael Giegerich             | migieger@luva.stgt.sub.org
------------------------------+------------------------------