when is the best time to take a pregnancy test?

Jie

when is the best time to take a pregnancy test? Am or pm?