Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Apr 2006 17:45:06 +0300 (EEST)
From:      "Giorgos Kapetanakis" <zoulou@sians.org>
To:        "Mare Negrocan" <mare@negrocan.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: How to change hardware clock
Message-ID:  <57348.195.134.69.169.1145112306.squirrel@webmail.sians.org>
In-Reply-To: <20060415140112.192FE17CB@smtp.sinfonika.si>
References:  <20060415140112.192FE17CB@smtp.sinfonika.si>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, April 15, 2006 4:57 pm, Mare Negrocan wrote:
> How to change hardware clock?
>
> I can't update clock with rdate, ntpdate.

(from date(1) manual page)

     The command:

           date 8506131627

     sets the date to ``June 13, 1985, 4:27 PM''.

           date "+%Y%m%d%H%M.%S"

     The command:

           date 1432

     sets the time to 2:32 PM, without modifying the date.

-- 
Giorgos Kapetanakis




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57348.195.134.69.169.1145112306.squirrel>