How can I find out the current date and time from a remote machine?
Some common protocols for doing this are:
- Daytime (RFC 867)
- Time (RFC 868)
- Network Time Protocol (RFC 1305)
- Simple Network Time Protocol (RFC 2030)
In all three cases, you will need a server running which provides the date and time for the remote clients. Many OSes have built-in servers which you can run for this purpose.