Ok. Violation of W&I Code Section 10980 is a misdemeanor
. The maximum penalty is six months imprisonment and a fine of $500. It may show up on a background check, however, if you are asked if you have been convicted of a felony, you can say no.
It's hard to say how long the proceeding will last, because it depends on a number of factors, including how many people are on the list ahead of you. It could take a few hours. When you get to court, you can talk to the DA. If the DA is not seeking jail time (which, for a first offense, he probably will not), and you choose to plead guilty, the court will sentence
you then and there, which means you don't have to go back. If you plead not-guilty, you will have to go back for the trial
. If the DA does not waive the possibility of jail time, you will have a right to an attorney. If you cannot afford an attorney, one will be appointed for you.
I hope that helps.