I think Nicodemus came at night because it is written that "there was a man of the Pharisees, named Nicodemus, a ruler of the Jews, the same came to Jesus by night..." ;)
However, the reason why Nicodemus came to Jesus was to steal. When Nicodemus said to Jesus, "Rabbi, we know that you are...