How accurate is a 6 week dating scan?

I had an ultrasound done and it said I was 6 weeks and 6 days. They did it abdominal and not a vaginal ultrasound. I then had another ultrasound around 15 weeks and it was a few days ahead of the original date. How accurate are these early scans?