When to pee

Moni

What is the best time of day to pee for accurate results on pregnancy test? I have been told mornings but does it really matter when you do it?