When to test

Can you test in the middle of the day/afternoon or does it have to be in the morning?