I said a year but Jax is going to be starting lessons at about 11 months or so, I feel the earlier you teach them and keep them with it, the better and more comfortable they'll be with it.
I said two years, ONLY, because I am paranoid that the earlier a child learns, the more confidence they have about swimming alone. My daughter started swimming on her own with floaties about 2.