At what age are children potty trained during days and dry during nights?

Most children are potty trained during days when they are 3 or 4 years of age. From the age of 7, most children are dry at nights too.