When Jesus said that even he did not know the time of the end, he was affirming his humanity. Of course God the Father knows the time, and Jesus and the Father are one - but when Jesus became a man, He voluntarily gave up the unlimited use of His divine attributes.
And remember . . . No one can predict by scripture or science the exact day of Jesus return. Jesus is teaching that preparation, not calculation is needed.