rdate
![]() | This article includes a list of references, related reading, or external links, but its sources remain unclear because it lacks inline citations. (April 2011) |
On Unix-like operating systems, rdate is a tool for querying the current time from a network server and, optionally, setting the system time. Rdate uses the Time Protocol. The Time Protocol is generally considered obsolete and has been replaced by the Network Time Protocol (NTP).
When used to set the local system time, rdate operates by changing system time immediately to the time and date returned by the server. Abrupt changes of clock settings have been found to cause problems for software relying on timing. This led to the development of the Network Time Protocol, which gradually changes the system time and does not skip ticks.
Due to the problems described above, rdate is generally used only on systems where NTP is not available, or in specialized circumstances where it is required that system time be set correctly as soon as possible during initial setup, before services which may be vulnerable to abrupt time-changes have started.
See also
References
- Linux User Commands Manual –
- RFC 868 – Describing the Time Protocol used by rdate
- Open-rdate, a project implementing the rdate command