Vomiting and diarrhea due to overeating: how long should it last?

Overeating. One should not get diarrhea and vomiting from overeating. That is very unusual and implies very bad food. One could possibly throw up once or twice if you ate like a glutton, but diarrhea is not related. This sounds more like food poisoning. However, the fastest food poisoning does not come on for at least 12 hours. Most likely a gastroenteritis was brewing and coincided with a big meal.