The fraction of stars with inner disks (r < 1 AU), as measured by near infrared excesses, decreases in young clusters on a time scale of order 10 Myr.
The typical lifetime is entirely adequate to build up planetesimals and even some giant planets.