getTimestampAsString function

Syntax
qa_int QAMessage::getTimestampAsString(
  qa_string buffer,
  qa_int bufferLen
)
Parameters
  • buffer   The buffer for the formatted timestamp.

  • bufferLen   The size of the buffer.

Remarks

Gets the message timestamp as a formatted string.

The format is: "dow, MMM dd, yyyy hh:mm:ss.nnn GMT".

For more information about getting and setting message headers and properties, see Introduction to QAnywhere messages.

Returns

The number of non-null qa_chars written to the buffer.