modify date to messages