Trump said: "We want all the voting to stop." in the same speech in which he said: "Frankly we did win this election."
So that was just after 11:30 PST.
Of course voting and counting are different things, but since no one was still voting the morning after election day, Trump clearly meant that no more ballots should be counted.
Which would be illegal.