Changed time formula for random messages