Topic Path: Symbol Reference > Classes > TIdEntityHeaderInfo Class > TIdEntityHeaderInfo Properties > Date Property
ContentsIndexHome
PreviousUpNext
TIdEntityHeaderInfo.Date Property

Indicates the origin date and time for an HTTP message.

property Date: TIdDateTime;

Date is a TDateTime property that indicates the origin date and time for an HTTP message. Origin servers must include a Date value in all responses, except in the following cases: 

 

Response 
Conditions 
100 (Continue) 
Date is an optional header field. 
101 (Switching Protocols) 
Date is an optional header field. 
500 (Internal Server Error) 
It is inconvenient or impossible to generate a valid Date. Server does not have a clock that can provide a reasonable approximation of the current time. 
503 (Service Unavailable) 
It is inconvenient or impossible to generate a valid Date. Server does not have a clock that can provide a reasonable approximation of the current time. 

 

A received message without a Date header must have a Date header value constructed on the client after receipt. 

A message sent by a client can contain an optional Date header value if the message has an entity body, as in HTTP PUT and POST requests.

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