I have not drank for more than a 1000 days. This was the second attempt to completely stop drinking. For the first attempt, I didn't get past 100 days.
I have someone who holds me accountable. That individual started messaging me daily the count: 1 day without drinking, 2 days without drinking, 3 days ... Once we hit 100 days, it became 110 days without drink, 120 days without drink ...
What has helped keep the discipline:
1. Non-alcoholic beer. I second the recommendations of SkyPuncher. 2. I avoid situations where alcohol is present. 3. Friends and colleagues who don't pressure me to just have 'one drink'.
I perform stand-up comedy at clubs and bars. There's a culture of getting a free drink if you are not the head-liner and it isn't an open-mic. One way I maintain the discipline is to treat stand-up comedy like work - I need to have a clear mind to do the job and alcohol diminishes my capacity to perform.
All the best in your journey!