Can you get pregnant if....

The day of O if it occurred in the morning and you had sex later that night?