Changing time stamp to random number.