Minimum 4 weeks from pollination, 5 weeks if you care about the seeds.
Hang to dry over a rimmed baking sheet or lasagne pan to catch seeds as they drop.