Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2001 00:14:13 -0600 (CST)
From:      David Scheidt <dscheidt@enteract.com>
To:        "r a n d y ../" <randy@randys.org>
Cc:        FreeBSD-Q <freebsd-questions@freebsd.org>
Subject:   Re: Setting the Time
Message-ID:  <Pine.BSF.4.21.0101200009290.43257-100000@shell-3.enteract.com>
In-Reply-To: <20010119215953-r01010600-ed3adca6@192.168.100.2>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 19 Jan 2001, r a n d y ../ wrote:

:I just noticed that `date` produces the wrong time. How do I set the time in
:FreeBSD? I set the time zone to PST, but the time is off by -8 hours.


with date, as root.  format is date ccyymmddHHMM.SS  -- that is, to set the
date to 20 january 2001 at noon:

date 200101201200

there is also ntp, the network time protocol, which will keep your clock
from drifting.  See the manpages for ntpd(8) and ntpdate(8) (which sets the
time once, instead of all the time)


:
:TIA
:-randy
:
:==========================
:  r a n d y / randys.ORG
:==========================
:    http://randys.org
:
:
:To Unsubscribe: send mail to majordomo@FreeBSD.org
:with "unsubscribe freebsd-questions" in the body of the message
:
:

David



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?Pine.BSF.4.21.0101200009290.43257-100000>