Internet Direct (Indy)
Home
PreviousUpNext
TIdSNTP.SyncTime Method

Updates the clock on the local computer.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.