Internet Direct (Indy)
Home
PreviousUpNext
TIdTimeUDP.DateTime

Current date and time from the remote time server.

DateTime is a read-only TDateTime property that represents the current time according to the time server specified in the Host and Port properties. 

Reading the value in DateTime causes the client to to access the DateTimeCard value returned by the remote server. The cardinal value is converted to the native date and time value for the property, and adjusted to reflect the timezone bias for the local system. 

DateTime is used in SyncTime.

DateTimeCard SyncTime

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.