What's the earliest you can take a pregnancy test?

Just curious how early you took a pregnancy test and got a positive?