When?

When should I take a pregnancy test. Like does it matter the time of day? Morning, midday, night?