I have seen varying opinions from 12 weeks to 20 weeks. At what point in the gestation will the Doctor be able to ascertain the sex of the child, assuming there are no developmental complications.

**EDIT**
Question was previously related to Gender, I modified the question to reflect my intent.