From owner-freebsd-questions Fri Jan 19 22:14:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.enteract.com (mail.enteract.com [207.229.143.33]) by hub.freebsd.org (Postfix) with ESMTP id 34EEF37B401 for ; Fri, 19 Jan 2001 22:14:19 -0800 (PST) Received: from shell-3.enteract.com (dscheidt@shell-3.enteract.com [207.229.143.42]) by mail.enteract.com (8.9.3/8.9.3) with ESMTP id AAA67538; Sat, 20 Jan 2001 00:14:13 -0600 (CST) (envelope-from dscheidt@enteract.com) Date: Sat, 20 Jan 2001 00:14:13 -0600 (CST) From: David Scheidt To: "r a n d y ../" Cc: FreeBSD-Q Subject: Re: Setting the Time In-Reply-To: <20010119215953-r01010600-ed3adca6@192.168.100.2> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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