How long to get positive test

For those of you who didn't get a positive test before or the day of missed period how long did it take you?