Any were between 15 and 18 weeks depending on the position your baby is in e.g. If baby has legs closed they can not really tell,
I found out i was having a boy at 15 weeks with my first and my second a girl at 17 weeks, it's the same with twins (depends on the baby's position).