Then he describes him as to the time, saying, he came to Jesus at night. In regard to this, it might be noted that in Scripture the quality of the time is mentioned as to certain persons in order to indicate their knowledge or the condition of their actions. Here an obscure time is mentioned, at night. For the night is obscure and suited to the state of mind of Nicodemus, who did not come to Jesus free of care and anxiety, but in fear; for he was one of those of whom it is said that they "believed in him; but they did not admit it because of the Pharisees, so that they would not be expelled fr...om the synagogue" (below 12:42). For their love was not perfect, so it continues, "For they loved the glory of men more than the glory of God."
Further, night was appropriate to his ignorance and the imperfect understanding he had of Christ: "The night has passed, and day is at hand. So let us cast off the works of darkness" (Rom 13:12); "They have not known or understood; they are walking in darkness" (Ps 81:5).
Then he is described from his statements, when he says that Nicodemus said to Jesus: Rabbi, we know that you are a teacher come from God. Here he affirms Christ's office as teacher when he says, Rabbi, and his power of acting, saying, for no one could perform the signs you perform, unless he had God with him. And in both remarks he says what is true, but he does not affirm enough.
He is right in calling Jesus Rabbi, i.e., Teacher, because, "You call me Teacher and Lord; and you do well, for so I am," as we read below (13:13). For Nicodemus had read what was written in Joel (2:23): "Children of Sion, rejoice, and be joyful in the Lord your God, because he has given you a teacher of justice." But he says too little, because he says that Jesus came as a teacher from God, but is silent on whether he is God. For to come as a teacher from God is common to all good prelates: "I will give you shepherds after my own heart, and they will feed you with knowledge and doctrine," as it says in Jeremiah (3:15). Therefore, this is not unique to Christ even though Christ taught in a manner unlike other men. For some teachers teach only from without, but Christ also instructs within, because "He was the true light, which enlightens every man" (above 1:9); thus he alone gives wisdom: "I will give you an eloquence and a wisdom" (Lk 21:15), and this is something that no mere man can say.
He affirms his power because of the signs he saw. As if to say: I believe that you have come as a teacher from God, for no one could perform the signs you perform. And he is speaking the truth, because the signs which Christ did cannot be worked except by God, and because God was with him: "He who sent me is with me" (below 8:29). But he says too little, because he believed that Christ did not perform these signs through his own power, but as relying on the power of another; as though God were not with him by a unity of essence but merely by an infusion of grace. But this is false, because Christ performed these signs not by an exterior power but by his own; for the power of God and of Christ is one and the same. It is similar to what the woman says to Elijah: "Because of this I know that you are a man of God" (1 Kgs 17:24).
Source: Commentary on John