Topic Path: Symbol Reference > Classes > TIdSNTP Class > TIdSNTP Properties > AdjustmentTime Property
ContentsIndexHome
PreviousUpNext
TIdSNTP.AdjustmentTime Property

Local clock offset.

property AdjustmentTime: TDateTime;

AdjustmentTime is a read-only TDateTime property that indicates the local clock offset calculated when the DateTime value is retrieved from the remote SNTP server. 

AdjustmentTime is calculated according to the algorithm specified in the errata for RFC 2030: 

LocalClockOffset := ((ReceiveTimestamp - OriginateTimestamp) + (TransmitTimestamp - DestinationTimestamp)) / 2;

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