How long does a diarrhea take to appear after its causing factor?

Incubation period. Depends upon the cause and the degree of exposure. In general, from 12 hours to 3 days or so.