Breast milk to formula

How long did it take to transition your baby from bottle breastmilk to formula? What was your routine?