Can you get an accurate pregnancy test during the night?

Eliza
So I've heard that pregnancy tests are the most accurate in the mornings when urine is most concentrated however I'm curious if it's still accurate during the day? Like if I took one right now would it still be accurate? I know that ovulation tests aren't as accurate and should be taken in the mornings only but does that apply to pregnancy tests?