The HTTP Time Protocol (HTP) is used to synchronize a computer's time with web servers as reference time source. The htpdate utility retrieves the date and time from remote machines via a network. Htpdate works through proxy servers. Accuracy of htpdate will be usually within 0.5 seconds (better with multiple servers). If this is not good enough for you, try NTP.