Symptoms usually appear within 12 to 48 hours after exposure to a gastroenteritis-causing virus and last for 1 to 3 days. Some viruses cause symptoms that last longer.