Pregnancy dating should ideally be done during the first prenatal visit. Early dating is important for establishing a timeline for prenatal tests and identifying any potential complications early. An early ultrasound is recommended between 8 to 12 weeks of gestation for the most accurate dating.