How many weeks until the gender forms?

Jessica
Hi how many weeks until the baby gender forms? I'm really curious as to when my baby will develop into whatever they may be ? Xx