Thanks for posting your query at DoctorSpring.com
Using the ultrasound scan, it is possible to assess the status of the endometrium - lining of the uterus.
Thickening of the endometrium to a certain extent indicates how soon the period will come, a doctor can have a fairly good idea of the phase of the menstrual cycle using ultrasound.
All the best.
Please feel free to discuss further.