I'm going to assume that you are setting the date and time right after the computer boots up and if you are doing this, the most common answer would be a dead battery on the motherboard that keeps the bios time. These are usually located on one of the corner regions of a motherboard near a chip that is usually the bios chip that keeps all necessary information so the computer KNOWS how to boot up with the configuration as preset by the factory or as modified by you. These batterys are usually good for about 3 years although some companies claim greater time. But I suspect your motherboard is very near the age bracket I am speaking so changing the battery with a new replacement from Walmart or other discount store that average around 4 dollars apiece MAY fix your issue. Only replace with like battery and BE CAREFUL during replacement as is sometimes easy to break a prong that keeps the battery in place on the motherboard that would lead to inconsistent motherboard bios function at best and possibly your exact issue. . Also while you have your case open, make sure there are no loose metal objects such as loose screws lying around. It shouldn't hurt to shake the case a little to test for loose objects lying underneath the motherboard. Try to make sure that all external connections are disconnected before shaking else the monitor might fall down while you are handling the case.