When the time came for the purification rites required by the Law of Moses, Joseph and Mary took him to Jerusalem to present him to the Lord
NIV
And when the time for their purification [the mother's purification and the Baby's dedication] came according to the Law of Moses, they brought Him up to Jerusalem to present Him to the Lord--[Lev. 12:1-4.]AMP
And when the days of her purification according to the law of Moses were accomplished, they brought him to Jerusalem, to present him to the Lord;
KJV
On the eighth day, when it was time to circumcise the child, he was named Jesus, the name the angel had given him before he was conceived.
NIV
And at the end of eight days, when [the Baby] was to be circumcised, He was called Jesus, the name given by the angel before He was conceived in the womb.
AMP
And when eight days were accomplished for the circumcising of the child, his name was called JESUS, which was so named of the angel before he was conceived in the womb.
KJV