My doctrinal view on Acts 2:39 includes the next verse as well:
Acts 2:38-39
And Peter said to them, “Repent and be BAPTIZED every one of you in the name of Jesus Christ for the forgiveness of your sins, and you will receive the gift of the Holy Spirit. For the promise is for you AND FOR YOUR CHILDREN and for all who are far off, everyone whom the Lord our God calls to himself.”
And, because I an NOT a Scriptural cherry-picker who reads the bible OUT of its proper context - I understand that this ALSO includes the following verses . . .
Matt. 28:19
Go therefore and make disciples of all nations, BAPTIZING them in the name of the Father and of the Son and of the Holy Spirit
John 3:5
Jesus answered, "Truly, truly, I say to you, unless one is born of WATER and the Spirit, he cannot enter the kingdom of God.
Mark 16:16
He who believes and is baptized will be saved; but he who does not believe will be condemned.
Col. 2:11-12
In him also you were circumcised with a circumcision made without hands, by putting off the body of flesh in the circumcision of Christ; and you were buried with him in BAPTISM, in which you were also raised with him through faith in the working of God, who raised him from the dead
1 Pet. 3:21
BAPTISM, which corresponds to this, now saves you, not as a removal of dirt from the body but as an appeal to God for a clear conscience, through the resurrection of Jesus Christ,