Calculation of timestamp for particular message.

Required to send only new feeds.