You get out on your release date. If something happens at court where the judge dismisses the case, then they will leave at that time. If it's just a court date where no decision is rendered, there will not be an early release.
https://www.inmateaid.com/ask-the-inmate/if-your-release-date-10-11-16-and-you-go-to-court-9-15-16#answer
Accepted Answer Date Created: September 02,2016