How to change hardware clock

Mare Negrocan mare at negrocan.net
Sat Apr 15 15:00:25 UTC 2006


[root at freebsd etc]$ date 0604151658
date: can't reach time daemon, time set locally
Sat Apr 15 16:58:00 CEST 2006

;)

-----Original Message-----
From: Giorgos Kapetanakis [mailto:zoulou at sians.org] 
Sent: Saturday, April 15, 2006 4:45 PM
To: Mare Negrocan
Cc: freebsd-stable at freebsd.org
Subject: Re: How to change hardware clock

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



__________ NOD32 1.1490 (20060415) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com




More information about the freebsd-stable mailing list