[PLUG] Setting the time

Will Andrews Will Andrews <will@physics.purdue.edu>
Thu, 8 Feb 2001 10:44:44 -0500


[  please wrap your text as per RFC docs. thanks.  ]

On Thu, Feb 08, 2001 at 10:20:53AM +0000, Aaron Lehmann wrote:
> What is the call used to set the time?  I found one, but it needs milliseconds since 1970...  Is there a program out there that takes more intelligent input?

date(1) can set the time, if you are are looking for a program.
Otherwise, you use adjtime(2) or clock_settime(2).  Of course.. those
are 4.4BSD (or 4.3BSD) syscalls.

-- 
wca