When did you find out if you were having a boy or girl? What test was done?

Sandie
When did you find out if you were having a boy or girl? What test was done? 
I'm 13+2 and getting impatient. Lol