Jesus is eternal God and knows all things past, present, and future.
Acts 15:18 Known unto God are all his works from the beginning of the world.
Now, let’s suppose that it were true (which its not) that Jesus did limit Himself to not knowing the day and hour or the timing for the final judgment of the world. For whatever reason, let’s say that He held back that information from Himself and He truly did not know which day would be the last day. We’re setting up a scenario where we’re allowing there to be one exception to His vast storehouse of knowledge and understanding-we're allowing for the idea He did not know the day nor hour. He knows everything else, but He did not know the time for the end of the world.
OK, let’s suppose we ourselves possessed all knowledge of all things, except for the events that would take place on one particular day. We knew everything that would transpire leading up to that day, and we also knew everything that would happen after that day passed. How much brain power would it take for us (tiny little finite creatures) to come to the understanding of the date for that one single day we’re ignorant of? It wouldn't take all that much thought would it? In other words, we could almost instantaneously draw a circle around that date on a calendar as that special day. Now, if we, who are so limited in our beings could quickly draw that kind of a conclusion, how much more could the Lord Jesus Christ, who is eternal God Himself and as such knows everything about everything- easily determine the date for the end of the world based on simply deductive reasoning?
To say it another way, if Jesus kept back knowledge from Himself regarding the “day and hour” or timing of Judgment Day-He could still easily discern when it would happen by the process of elimination. By knowing all things that would take place up until that day; and by knowing all things that would take place after that day (into eternity future)-it becomes super obvious that the one day where knowledge is lacking is the day for the world’s end. Which shows us what we knew to be true already, that Jesus Christ as Almighty God most definitely knew all things about the end of the world including the timing for it.
Job 24:1 Why, seeing times are not hidden from the Almighty, do they that know him not see his days?