It all depends on the child.

I was totally potty trained (day and night) by 2.

DS2.5 has absolutely no interest in potty training and scared of poos.