I took a pregnancy test tonight, is it less accurate?

I took it tonight and it said negative. I'm gonna take one in the morning as well but is it less likely to be correct cause I took it at night? Why?