You have to understand it was a Saturday night, and the Jews hold the end of Sabbath is sundown, so it would be the beginning of the next day, Here is a good explanation...
"According to the Bible, each day begins at sundown and ends at the next sundown (Genesis 1:5, 8, 13, 19, 23, 31; Leviticus...