D.M.
For us it was a gradual process, and I did it over a few weeks but not until my son was much older did I completely take him off the formula.
Our pediatrician said to maintain formula until at least 2 years old...so, we did until he was about 18 months.