setdate(ADMN)
setdate --
set the system date and time from a remote host
Syntax
setdate [ -d ] host ...
Description
setdate
sets the local date and time from the hosts specified on the
command line.
setdate
tries the hosts in order until one answers or the list is
exhausted. It then
updates the local time with
settimeofday(S).
If the
-d
option is used, the time will be displayed and
setdate
will exit without updating the local time.
Only root may use this command.
See also
inetd(ADMN),
ntpdate(ADMN),
timed(ADMN)
Standards conformance
setdate is conformant with
RFC 868 (STD 26)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003