When did you find out the sex of your baby?

I have heard so many different things about when they can determine the sex of your baby, what are your experiences? Thank you :-)