The longest I could last without gambling was roughly a week.
This is not a good thing for you because it means you are addicted to gambling and the reason is obviously you are making it as a source of income from it rather than to enjoy and make it fun. How much have you won or loss till date and from how many years you are into gambling?
Not a good thing at all. I can imagine what that would be like for most of the people in his shoes. No one is perfect, but I believe that when it is becoming a problem to stay out of gambling for a very long time, and being frequent in the shortest possible amount of time, then, there is a huge fire on the mountain which could spread like a wildfire.
It is important to always see gambling as an occasional activity with a lot of gap than seeing it as a frequent one to be able to stay good.