Once the queen starts laying you can move them. I'd say about a week if it's on undrawn foundation. The one thing I do to ensure a swarm stays put is to get a frame from another hive with eggs or larva and put it in the swarm box. I've never had a swarm leave larva. It also gives them a population boost during the 3 weeks they normally don't have any new brood emerging.