Pregnancy

I had sex on the 1st of July , and on the 9th of July but my ovulation day was July 2nd, I had my period on July 15th and when I went to the doctors on August 14th two days late from my next period which was supposed to begin August 13th , the doctors told me I am pregnant, on what day did I actually get pregnant ?