Internet Direct (Indy)
Home
PreviousUpNext
TIdTimeUDP.DateTimeCard

The time value expressed as a number of seconds since the base date for the time server.

DateTimeCard is a read-only Cardinal property that represents the time value from the remote time server expressed as a number of seconds since 1 Jan 199 12:00AM. 

Reading the value in DateTimeCard causes a UDP datagram to be sent connection to the Host and Port specified for the client. The Cardinal value is read from the remote time server, and RoundTripDelay is updated to reflect the latency for the operation with the remote host. 

Use DateTime to access a native TDateTime value from the remote time server.

Host Port RoundTripDelay DateTime

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.