Internet Direct (Indy) Version 9.0.1 Beta
TIdSNTP.SyncTime
Updates the clock on the local computer.

function SyncTime: Boolean;
Returns
Boolean - True on success.

Description
SyncTime is a Boolean function that updates the clock on the local computer, and returns True if the value of DateTime is not an invalid value or the TNTPGram response is not ignored.