In what time of pregenancy the baby seen male or female in ultrasound?

20 weeks. Goose: the baby's gender is usually easier to see around 20 weeks. Sometimes it can be seen earlier though.
Ultrasound. Usually end of second trimester but it depends on the babies position.