Best Time of day to test?

Analise

I’ve tested the last 2 days at around 7pm & 8pm they were both negative, my period is due in 2 days, does the time you take the test have anything to do with it?

Been having really bad headaches with side pains and lower back ache.