When cutting out all process carbs, in my experience it takes about 3 weeks and you no longer have the craving to eat those things.
Discussion
I have a feeling this is how long it takes for the microbiome to die that specifically eats those type of carbs