When to take pregnancy test?

Danielle
What time of day will you get the best/most accurate results from a pregnancy test? Ive heard first thing in the am to anytime of day is fine.