Internet Direct (Indy) Version 9.0.2 Beta
TIdTimeUDP.DateTime
Current date and time from the server.

property DateTime: TDateTime;
Description
DateTime is a read-only TDateTime property that reflects the estimated current date and time according to a Time server. DateTime is expressed in the time zone for the local computer.

DateTime will contain the value 0.0 (for 12/30/1899 12:00 am) when no date and time values have been assigned.

The Host and Port properties must contain a valid Time server address and port assignment prior to accessing the value of DateTime.