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

SQL Anywhere 10.0.1 » QAnywhere » QAnywhere C++ API Reference » QAMessage class

getTimestamp function Next Page

getTimestampAsString function


Synopsis

qa_int QAMessage::getTimestampAsString(
qa_string buffer,
qa_int bufferLen
)

Parameters
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 Message headers and message properties.

Returns

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