The same came to him by night, and said to him, "Rabbi, we know that you are a teacher come from God, for no one can do these signs that you do, unless God is with him."

 It was by night that Nicodemus came to Jesus. There were probably two reasons for that. 