change timestamp to be milliseconds