Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » QAnywhere » QAnywhere API Reference » QAnywhere C++ API reference » QAMessage class

 

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.