gastroenteritis (stomach virus)

Daisy

Has any of your babies had gastroenteritis? How long did it last? My daughter(12.5 months) started having diarrhea and throwing up maybe once ever 2 days since last Monday. She had no fever and was still her normal playful self. Now she way better but is throwing up only at night/in the middle of the night for the past 4 days. Could it be something else or still the stomach virus? Why is she perfectly fine all day and only throwing up in the middle of the night?