I have java application that connect to a xmpp group chat and send a message. But I need one more functionality. Every time someone in the chat send the message "time" (without quotation marks), my application will send in the chat the current local date time in Munich.
time message format: mm/dd/yyyy hh:mm:ss
source: Intellij IDEA project