This expression means, "halfway through the night" or, "very late at night."
That is, "to ask Jesus questions to try to find something they could accuse Jesus of doing wrong."