How soon before your period did you get a positive?

How many days before your period did you get a positive on a home pregnancy test? What test did you use?