Weird question

So I have no pregnancy test but felt symptoms and wanted to test today.

Is it okay to pee in a cup and safe the pee for about an hour until I go get tests?

Would tht alter the results?

Or will it matter as long as it’s from first thing in the morning??