This all depends on the carpets in question as some dry out faster then others. Other factors include how many times the machine has gone over and the general weather conditions.
I would normally suggest between 12-24 hours but this varies.