Date: Sun, 12 Nov 2000 17:29:38 -0800 From: Kent Stewart <kstewart@urx.com> To: Petr Murmak <murmak@artum.cz> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Unable to change date/time Message-ID: <3A0F4402.59112955@urx.com> References: <006f01c04d06$fec17e10$0101a8c0@palitko>
index | next in thread | previous in thread | raw e-mail
Petr Murmak wrote:
>
> Hi!
>
> I installed FreeBSD 4.1.1 from burned ISO image.
>
> I tried to change date or time, but I wasn't successfull.
>
> When I wrote for example:
>
> # date 0001
>
> system response:
>
> Fri Nov 10 00:01:00 CET 2000
>
> but immediately after that I wrote:
>
> # date
>
> and system response:
>
> Fri Nov 10 00:34:40 CET 2000
>
> And in /var/log/messages i found:
>
> Nov 10 00:34:38 test /kernel: Time adjustment clamped to -1 second
> Nov 10 00:34:38 test date: date set by petr
>
> I'm logged as petr, but su to root.
>
> Any suggestions?
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.
Kent
>
> Petr
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
--
Kent Stewart
Richland, WA
mailto:kbstew99@hotmail.com
http://kstewart.urx.com/kstewart/index.html
FreeBSD News http://daily.daemonnews.org/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A0F4402.59112955>
