Topic Path: Symbol Reference > Classes > TIdDayTimeUDP Class > TIdDayTimeUDP Properties > DayTimeStr Property
ContentsIndexHome
PreviousUpNext
TIdDayTimeUDP.DayTimeStr Property

Retrieves the Date and Time from a server.

property DayTimeStr: String;

DayTimeStr is a String property that cause the component to connect to the Host server and retrieve the date and time. Since this can be returned in a free-form format, this is not converted to a TDateTime and there is no time synchronization performed. 

You must set the Host property to the DayTime server before using this property.

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