As it says in John 10: 30 says "I and My Father are one" Whoever sees me sees the father. No one can come to Father except by me. Of course God knows everything, because Jesus' divinity parted not from his humanity for single moment nor a twinkling of an eye. The same happened with the miracle at the Wedding Cana where St Mary informed Jesus of the problem of which they had no wine. But Jesus responded saying "My hour has not come yet". In the first chapter in Genesis, it says "God created the Heavens and the Earth" and "the spirit of God was hovering" and it speaks of the Trinity (three in one), and God is the creator. Sometimes he does miracles. We believe that God is the Holy Trinity (three in one), similar to the Wedding of Cana He does not want to reveal the hour at which He will return. He answered Pontius Pilate saying that he is Son of God and from now you will see the Heavens open and the Son of man sitting at the right hand of the Father. We know that He and the Father are one under the Holy Trinity. Christ in his wisdom did not want to reveal this information to the world as it would pose a threat to our own salvation and it was for our benefit not to know this information.