How long before the court date can you receive a text message from the court to enter the mini program?

Three days in advance.

After creating a case, the judge or clerk automatically sends court hearing information to the mobile phones of the parties, litigation agents, etc. The parties, litigation agents and other participants can prepare or open the WeChat applet a few minutes in advance based on the text message content. To enter the meeting, users need to conduct real-name authentication through ID card authentication and facial recognition.

According to Paragraph 3 of Article 182 of the Criminal Procedure Law, after the People's Court determines the date of the hearing, it shall notify the People's Procuratorate of the time and place of the hearing, summon the parties, and notify the defender and litigants. Agents, witnesses, appraisers, translators, summonses, and notices must be served at least three days before the court session.