change timestamp to eventtime