Internet Direct (Indy)
Home
PreviousUpNext
TIdDayTime.DayTimeStr Property

Retrieves the Date and Time from a server.

Pascal
property DayTimeStr: String;

DayTimeStr is a String property that causes 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.

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.