Internet Direct (Indy)
Home
PreviousUpNext
TIdSNTP.AdjustmentTime Property

Local clock offset.

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

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.