man rdate (Administration système) - rdate

NAME

rdate - set the system's date from a remote host

SYNOPSIS

[-psau]host [port]

DESCRIPTION

displays and sets the local date and time from the host name or address given as the argument. It uses the RFC868 protocol which is usually implemented as a built-in service of inetd(8) .

Available options:

-p
Do not set, just print the remote time
-s
Do not print the time.
-a
Use the adjtimex() call to gradually skew the local time to the remote time rather than just hopping.
-u
Use UDP instead of TCP as the transport.

FILES

/var/log/wtmp
A record of date resets and time changes.

SEE ALSO

adjtimex(2) ,gettimeofday(2) ,utmp(5) ,inetd()