rdate [options] [host...]

TCP/IP command. Retrieve the date and time from a host or hosts on the network and optionally set the local system time.



Send errors and output to syslogd.


Print the retrieved dates.


Set the local system time from the host; must be specified by root.

-t n

Timeout each retrieval attempt after n seconds.


Use UDP instead of TCP.