Can i test for pregnancy at any time of the day?

Yani

I had sex leading up to my ovulation dates 4 weeks ago. i had a v straight period and i’m not sure if it was my period or implantation bleeding. 2 weeks since my “period”, i need to know if i can test at anytime of the day or would i have to wait until the next morning?