The man Elkanah, and all his house, went up to offer to Yahweh the yearly sacrifice, and his vow.
"As soon as the child is weaned, I will bring him." From  2 Maccabees 7:27, we learn that the weaning time for children in Palestine and the Mideast was a period of two years, or often, three years.