Pregnancy test

I heard pregnancy tests work better in the morning with your first pee of the day, my question is does it really have to be during morning hours or as long as its your first pee of the day?