From owner-freebsd-questions Wed Jul 9 18:24:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA27518 for questions-outgoing; Wed, 9 Jul 1997 18:24:28 -0700 (PDT) Received: from glacier.wise.edt.ericsson.se (glacier-ext.wise.edt.ericsson.se [193.180.251.38]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA27505 for ; Wed, 9 Jul 1997 18:24:23 -0700 (PDT) Received: from erlang (erlang.ericsson.se [147.214.36.16]) by glacier.wise.edt.ericsson.se (8.7.5/8.7.3/glacier-0.9) with SMTP id DAA05424; Thu, 10 Jul 1997 03:24:18 +0200 (MET DST) Received: from townsend.ericsson.se by erlang (SMI-8.6/LME-2.2.4) id DAA05745; Thu, 10 Jul 1997 03:24:17 +0200 Received: from townsend by townsend.ericsson.se (SMI-8.6/client-1.5) id DAA03060; Thu, 10 Jul 1997 03:24:15 +0200 Message-Id: <199707100124.DAA03060@townsend.ericsson.se> To: darin@media-net.net Cc: questions@FreeBSD.ORG Cc: kent@erlang.ericsson.se Subject: Re: how do I set the time? Reply-To: kent@erlang.ericsson.se In-Reply-To: Your message of "Wed, 09 Jul 1997 16:52:29 -0500" References: <33C4081D.FB945C5E@media-net.net> X-Mailer: Mew version 1.70 on Emacs 19.34.1 X-URL: http://www.ericsson.se/erlang Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 10 Jul 1997 03:24:14 +0200 From: Kent Boortz Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Run "date" with an argument as root. See "man date". A small extract The command: date 8506131627 sets the date to ``June 13, 1985, 4:27 PM''. The command: date 1432 sets the time to 2:32 PM, without modifying the date. If you have a portable that you sometimes connect in a network and want to set the time to match theirs you can connect to a "time server". I use % ntpdate erlang because "erlang" runs "xntd". /kgb