Topic Path: Symbol Reference > Classes > TIdMessage Class > TIdMessage Properties > Date Property
TIdMessage.Date Property

The date a message was sent.

property Date: TIdDateTime;

Date is a TDateTime property that represents the TDateTime, expressed in the local timezone, when the message was sent. 

For an incoming message, Date contains the value read from the RFC 2822 message header "Date:". 

For an outgoing messsage, Date contains the value written to the RFC 2822 message header "Date:", or the current timestamp when UseNowForDate is True.

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