Is there any way to add a time and date stamp to online messages?

Is there any way to add a time and date stamp to online messages?

I assume you could add any information you want to the message packet as it is online, and will be forwarded directly to the receiving client. However, as the message is online and will be delivered immediately - what are you trying to achieve by adding a date stamp?