How long to hold pee??

L

I am three days late and I have taken two pregnancy tests, both negative. Both of these tests I took when I had just previously peed 15-30 minutes before. Would this affect the test enough to say negative even if I was pregnant? How long do I have to hold in my pee for an accurate reading?