Astronomers have confirmed a world less than a million years old as the youngest known planet, using data from archives.