My 2002 Jetta

My car is doing strange things.My gas milage will go to 0 and my clock will go to 12:00 while I!m driving and will quit running when I stop like to stop, but will start and then run again. Any ideas what is wrong? Thanks

You have an electrical problem. Go to a reputable VW garage and have them check it out.