Finding out the gender

What’s the earliest you learned the gender of your baby?