Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 1995 13:16:48 -0400
From:      Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu>
To:        "Fred Clark Jr." <fclark@cixs.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Problem keeping accurate time
Message-ID:  <9507241716.AA05014@halloran-eldar.lcs.mit.edu>
In-Reply-To: <199507241648.LAA00186@cixs.org>
References:  <199507241648.LAA00186@cixs.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Mon, 24 Jul 1995 11:48:38 -0500 (CDT), "Fred Clark Jr." <fclark@cixs.org> said:

> 	I've been trying to figure out why after 12 or more hours of 
> operation, the date and time are off. For example when I initially boot 
> the system, the date and time is current to that of the bios and my 
> watch, but after running for sometime I check the date an the time, it's 
> off by atleast 5 hours. I notice this incident after I created a file,  
> and it had the next day's date stamped on it; it was only 10 pm. 

Sounds like your timezone is set wrong.  What is the output of the
following (using /bin/sh):

$ TZ=Etc/GMT date; date

$ ls -l /etc/localtime

$ ls -l /etc/wall_cmos_clock

$ for a in `find /usr/share/zoneinfo -type f -print`; do
>     if cmp -s /etc/localtime $a; then
>         echo $a
>     fi
> done

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



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