Totally random but ....

How long does urine keep for ? Like if you kept your fmu in a jar/bottle until say that night would it still be ok to test with ?