Best time to take pregnancy test?

Just wondering what's the best time to take pregnancy test? Morning or night?