Copyright © TIBCO Software Inc. All Rights Reserved

> tibemsMsg_GetTimestamp
> Function
> Purpose
> Get the timestamp header from a message.
> C Declaration
> tibems_status tibemsMsg_GetTimestamp(
> tibemsMsg message,
> tibems_long* value );
> COBOL Call
> CALL "tibemsMsg_GetTimestamp"
> USING BY VALUE message,
> BY REFERENCE value,
> RETURNING tibems-status
> END-CALL.

> | message has usage pointer.

> Parameters

> Parameter | Description
> message | Get the timestamp from this message.
> value | The function stores the timestamp in this location.

> Remarks
> Sending calls record a UTC timestamp in this header, indicating the approximate time that the server accepted the message.
> The value is in milliseconds since January 1, 1970 (as in Java).
> Applications that do not require timestamps can reduce overhead costs by disabling timestamps; see tibemsMsgProducer_SetDisableMessageTimestamp on page 189. When the producer disables timestamps, the value of this header is zero.
> See Also
> tibemsMsg_SetTimestamp on page 71
> tibemsMsgProducer_SetDisableMessageTimestamp on page 189

Copyright © TIBCO Software Inc. All Rights Reserved