Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Nov 1999 20:26:54 -0500
From:      John <papalia@UDel.Edu>
To:        Aman Shaikh <aman@cse.ucsc.edu>, freebsd-questions@freebsd.org
Subject:   Re: time setting
Message-ID:  <4.1.19991105202207.00946ec0@mail.udel.edu>
In-Reply-To: <Pine.GSO.4.05.9911051702230.16298-100000@fast1.cse.ucsc.ed u>

next in thread | previous in thread | raw e-mail | index | archive | help
>I have a freebsd machine, where I want to advance its current time so that
>it shows correct time. Is there a command to do it (as a root)?

Check out "man date".  You can set it either by entering the entire correct
date, or by entering a +/- value for each of the fields (month, day, year,
hours, minutes, seconds, etc).

--John


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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