Pregnacy test

Will a pregnacy test be accurate if I take it at 7pm at night?