Timestamp of the messages in a group chat

Hello everybody,

In a group chat, where do the timestamps of the messages come from? Does the local machine that has the chat client put the time stamp or does the chat server which has the chatroom put the timestamp?

Any idea?

Thanks,

Fatih.