So how do you quit drinking if you want to? Figure out why you still seem to want to drink at all. If you're going literal weeks at a time without drinking, that's great, you're probably not fighting the chemical addiction part. Most people that give in to daily cravings are just very addicted to the chemical alchohol and are constantly feeding their addiction.
After some weeks, if you're still going back to alcohol, it's because you still see it in some good/positive light. That's understandable, remember, billions and billions of dollars are spent every year trying to convince you that alchohol is THE way to have fun, relax, meet new people, and live that amazing life that only seems to exist on billboards and in commercials.
Once you just see alcohol as a poison you don't want to drink, not drinking alchohol is as easy as not drinking bleach or windex. For two years now I've had exactly as much to drink as I wanted to (zero), it's quite freeing really.