Pregnancy test

So is it best if you take a pregnancy test in the morning or does it really matter?