The Judge has all the pertinent info about your case in front of him and the DAs office is the one who recommends to the Judge to take time off a sentence aka time served already so there is no letter from you but can be arranged via your Lawyer, if applicable, with the DAs office