Stomach virus

Hello. Curious..How many hours do you throw up with a stomach virus? Other symptoms?