Mild with normal appetite: many days. Severe: maybe ~2 days. Fasting plus gut meds or probiotics usually improves in 1-2 days; else see a vet.