ultrasound and dates?

Anna
I went yesterday to my doctor for my 1st prenatal visit and they did an ultrasound to confirm the dates. well from my last period I'm 8 weeks, well I measure 8 weeks which is perfect however 8 weeks ago I was on my period so how could I measure the same weeks? I thought for sure I would b at least 5-7 earlier. anyone had the same issue?