A viral fever generally lasts for around a week, with some symptoms taking a few more days to resolve.