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

SQL Anywhere 11.0.1 (日本語) » QAnywhere » QAnywhere リファレンス » QAnywhere C++ API リファレンス » QAMessage クラス

 

getTimestampAsString 関数

構文
qa_int QAMessage::getTimestampAsString(
  qa_string buffer,
  qa_int bufferLen
)
パラメータ
  • buffer   所定のフォーマットのタイムスタンプが格納されるバッファ。

  • bufferLen   バッファのサイズ。

備考

メッセージのタイムスタンプをフォーマットされた string として取得します。

フォーマットは、"dow, MMM dd, yyyy hh:mm:ss.nnn GMT" です。

メッセージ・ヘッダとプロパティの取得と設定の詳細については、QAnywhere メッセージの概要を参照してください。

戻り値

バッファに書き込まれた NULL 以外の qa_char の数。