implantation bleeding

can implantation bleeding last a few hours? last night i went to the bathroom and wiped and i had some pinkish stuff on the paper, then this morning it was brown but now its gone. could that have been impalntation bleeding? im on 8dpo and period is due in 6 days. when is the best time to take a test?