Pregnancy test

When is the best time of the day to take a pregnancy test? Currently 2:36 am where I am. I heard that in the morning it is best to I really can’t sleep kinda anxious lol.