Researchers have, for the first time, pinpointed the moment when planets began to form around a star beyond the Sun.