The longest I could last without gambling was roughly a week.
I cant understand any reason which took you to gambling even when you were able to leave gambling for a week or so. I think in that whole week, you were never separated from gambling and were working for your gambling as to create new strategies that you can apply in your gambling. If you dont gamble even for a year but remained thinking of it all the time, its of no use.