Back to product page

Date Property


Holds message Date, if available.

Type

Date

Syntax

  • Basic
object.Date [= value]
The Date(object,value) syntax has these parts:
objectAn expression evaluating to an object of type SmtpMsg
valueA Date value.

Remarks

Date property will parse and return value of 'Date' header (if found), and represent it through Date format - number of seconds passed since 1.1.1970. If no 'Date' header is found, this property will return current date.

When you set this property, wodSmtp will create string representation of given date as it should exist in 'Date' header.

Platforms

Windows