Is it mandatory to test pregnancy only in morning 1st urine

Latha
Hi I got this one when I tested in morn and went for work so now again I have a eager to check it now it's almost night so can I test it today pls help me