18 weeks 5 months in pregnancy?

Someone had told me I wasn't 5 months yet until the 20th week is that true? Or is it 18 weeks consider 5 months??