The PROPID_M_ARRIVEDTIME property indicates when the message arrived at the queue.
The PROPID_M_ARRIVEDTIME property is attached to the message by MSMQ. The arrival time returned is the number of seconds elapsed since midnight (00:00:00), January 1, 1970 (Coordinated Universal time) according to the system clock.
To see when a message arrived, pass PROPID_M_ARRIVEDTIME to MQReceiveMessage and look at the returned results. When passing PROPID_M_ARRIVEDTIME to MQReceiveMessage, the corresponding VT field in the aPropVar array can be set to VT_NULL.
When reading messages from a journal queue, PROPID_M_ARRIVETIME indicates when the original message reached its queue, not when the original message was removed from the queue and a copy placed in the journal queue.
When reading messages from a machine journal, dead letter queue, or transactional dead letter queue, PROPID_M_ARRIVETIME indicates when the message reached the system queue where the application is reading the message.
For information on how to find out when the message was sent, see PROPID_M_SENTTIME.
Windows NT: Requires version 4.0 SP3 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in mq.h.
Import Library: Use mqrt.lib.
Unicode: Defined only as Unicode.
MQReceiveMessage, PROPID_M_SENTTIME