Topic Path: Symbol Reference > Classes > TIdSNTP Class > TIdSNTP Methods > SyncTime Method
TIdSNTP.SyncTime Method

Updates the clock on the local computer.

function SyncTime: Boolean;

Boolean - True on success.

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 and the TNTPGram response is not ignored.

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