Urine collection

How long after you collect urine can you use it for a pregnancy test?? I have a urine collection from my fmu on the counter waiting for my pregnancy strips to come via amazon. Will it not be valid urine to use since it’s been ditto all day?