Dpo and bfp

If I tested positive at 14 dpo and when I went to my US which was supposed to be 6 wks 4days but turns out that I was a week behind at 5 wks 4 days....then in reality I tested positive at 7 dpo? Or how does that work?