When did Jesus KNOW
Question: Did Jesus know, without a doubt, he was the SON OF GOD? Was there a time when he DOUBTED who he was? When did he find out his real identity?
Answer: Jesus Christ had supreme faith, being born with the Holy Spirit without measure, so we should not think He had doubts regarding His identity as God in the flesh. Notice Peter's confidence in identifying His true nature when he said to him the following.
Although various ideas existed as to who Jesus was, he himself knew His true identity. The Father in heaven blessed Peter by revealing to him his Son's spiritual identity and allowed him to proclaim it to the other disciples.
One never sees any self-doubt our Savior may have had about His identity. His hesitation in the Garden of Gethsemane (Matthew 26:37 - 39), which concerned His temptation to want the cup of His sacrifice to pass by, was not about His identity or a kind of self-doubt. Since he was also a prophet, He had direct knowledge from the Father that humans never had. Therefore, given that knowledge, He did not need faith to know about him the way we do, since we never have had the kind of direct contact with the Father as He did before his incarnation (That is, before being put into the Virgin Mary's womb).
He certainly had NO DOUBT regarding his identity as the Messiah when he testified before the Sanhedrin (Mark 14:60 - 62, see Daniel 7:13 for the Old Testament text he was alluding to). It was his statement regarding who is was that gave the Jewish religious leaders the excuse they needed to condemn him to death.
It is problematic to think Jesus would be uncertain about confessing His identity as the Messiah when such a statement would cost him the pain and suffering of the cross.