gender scan!!°°

at which week you can know the gender of the baby. I am bit confused coz everybdy is telling a different week. Please tell me the exact time frame. Thanks😍