|
Summary
Date and time.
Description
The Date property must be set to a string containing the date and time. The format of
the string must be compliant with the RFC 850 specification or RFC 822 specification. This
property can be accessed at any time. This property is used to build the "Date"
field in the header.
By default, the MIME ActiveX control will use the current date and time to build the
"Date" field. However, an application can change this by setting the Date
property to a different date and time. For example: "Fri, Apr 5 1996 10:05:06"
is a valid date string. If the Date property is an empty string then the default date and
time will be used. This property must be set before creating a message by calling the
CreateMessage method (or the deprecated Create or CreateX method, or setting the Action
property to the deprecated ACTION_CREATE value.
Please refer to RFC 850 - "Standard For Interchange of USENET Messages" or to
RFC 822 - "Standard For The Format Of ARPA Internet Text Messages" for more
information on the format of the date string.
This property can be set at design time or changed at run time. There is no default
value for this property.
Example
Mime.Date = Format$(Now, "ddd, d mmm yyyy hh:mm:ss")
|