:SetMessageDate()
Class
Syntax
:SetMessageDate( [cTime], [lTimezone], [hMessage] ) -> lSuccess
Parameters
|
|
cTime |
Optional. If not included, the current date and time will be used. |
|
|
lTimezone |
Optional. Logical indicating if Time should be adjusted for local timezone. Defaults to .F. |
|
|
hMessage |
Optional. Handle of the message to act on. Provided during :CreateMessage() operation |
Return
Logical indicating Success.
Returns .T. if the operation succeeds, otherwise returns .F.
Description
The :SetMessageDate() method sets the date and time in the header for the specified message.
The date string should be in a standard format as outlined in RFC 822, the document which descibes the basic structure of Internet e-mail messages. For a description of the date string format, refer to the :FormatDate() metod.
See Also