From owner-freebsd-questions Sun Nov 12 18: 3:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ns.anet.cz (ns.anet.cz [194.50.6.66]) by hub.freebsd.org (Postfix) with ESMTP id C599C37B479 for ; Sun, 12 Nov 2000 18:03:29 -0800 (PST) Received: from palitko (neco.cesnet.cz [194.212.70.171]) by ns.anet.cz (Postfix) with SMTP id 21EAF364AB; Mon, 13 Nov 2000 03:03:26 +0100 (CET) Message-ID: <008301c04d15$e99bd5d0$0101a8c0@palitko> From: "Petr Murmak" To: Cc: References: <006f01c04d06$fec17e10$0101a8c0@palitko> <3A0F4402.59112955@urx.com> Subject: Re: Unable to change date/time Date: Mon, 13 Nov 2000 03:03:19 +0100 Organization: ARTUM MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4029.2901 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4029.2901 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Read "man date" again and pay attention to the long string date. The > example I use is > > The command: > > date 8506131627 > > sets the date to ``June 13, 1985, 4:27 PM''. > > The manpage indicates a year range of 80-38 is equivalent to > 1980-2038. > Thanks for help, but it doesn't work: su-2.04# date 8506131627 Thu Jun 13 17:27:00 CEST 1985 su-2.04# date Mon Nov 13 04:00:36 CET 2000 And in /var/log/messages this 2 lines added: Nov 13 04:00:36 test /kernel: Time adjustment clamped to -1 second Nov 13 04:00:36 test date: date set by petr Petr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message