PutDateTime property

Read-write. This property combines the MQMD PutDate and PutTime fields. These are part of the Message Origin context that indicate when the message was put.

The ActiveX Extension converts between ActiveX date/time format and the Date and Time formats used in an WebSphere MQ MQMD. If a message is received which has an invalid PutDate or PutTime, then the PutDateTime property after the get method will be set to EMPTY.

Its initial value is EMPTY.

Defined in: MQMessage class

Data Type: Variant of type 7 (date/time) or EMPTY.

Syntax:
To get: datetime = MQMessage.PutDateTime

To set: MQMessage.PutDateTime = datetime