Adult dogs typically need to go out every 6-8 hours at a minimum.
Crate-trained dogs and those whose owners are frequently gone for longer hours may be able to hold for as much as 10-12 hours.
This is, however, fairly uncommon and should not be expected of your dog.