Topic Path: Pending > TIdTime.DateTimeCard
ContentsIndexHome
PreviousUpNext
TIdTime.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 connection to be established to the Host and Port specified for the client by calling Connect. 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. Disconnect is called prior to exiting from the method. 

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

Connect Disconnect Host Port RoundTripDelay DateTime

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