Topic Path: Pending > TIdTime.SyncTime

Updates the local computer time to match a value from the Time server.

Boolean - True when local time has been updated.

SyncTime is a Boolean function used to synchronize the local system clock with the Time server. 

Set the values for the Host and Port properties prior to calling SyncTime. 

When the value from the server is not empty, the local system clock will be updated using SetLocalTime and the value indicated in DateTime.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.