Pregnancy test

When is it best to take a pregnancy test? In the morning or afternoon?