I don't think He knew as He was still in the flesh at that time, but, He knows, as God, The Father. I can't document that, and, don't know for sure. He does say, elsewhere, it isn't for us to know the day or hour but it IS for us to know the times and seasons. He tells us to learn the parable of the fig tree!