:GetMessageDate()


Class

     aprMIME()

 

Syntax

     :GetMessageDate( [lLocalize], [hMessage] ) -> cMessageDate

 

Parameters

 

lLocalize

Optional. Determines if result should be adjusted for local time zone.

 

hMessage

Optional. Handle of the message to act on. Provided during :CreateMessage() operation

 

Return

Date and Time string.

If an error occurred, an empty string is returned.

To get specific error information, see :nErr and :cErr

 

Description

If no date has been specified in the message, the Date header field will be set to the current date and time, and that value will be returned.

 

See Also

:FormatDate(), :GetMessageHeader(), :ParseDate(), :SetMessageDate()