Well, I went into date and time settings again and turned off the auto time zone and auto time sync and just set it manually.
Did you go through the troubleshooting steps I suggested? Even if a step doesn't fix the problem itself it will close a possible problem path so that you can concentrate on others.
When you ran the Malwarebytes scan was it a full scan or a quick scan? Is Malwarebytes your default anti-malware app? Go to
ESET and run a one-time full anti-malware scan.
One of the troubleshooting steps was the suggestion for a Clean Boot. This will load Windows with only a minimal set of drivers, after which you can re-introduce services one by one until you find the one that's causing the issue. If you want to take Windows completely out of the picture, boot into your BIOS and leave it there for a few hours to see if the clock is losing time. If the clock stays OK in the BIOS you know that it's likely an issue with Windows or something that's loading up within Windows. If the clock loses time in the BIOS then, like I said, do a BIOS re-flash. If the computer still loses time then it's probably a hardware issue.
Does the computer only lose time after it's been turned off? If so, then get another battery on the off chance the one you bought was DOA. Also, make sure that the contact under the battery isn't squished flat where it doesn't contact it.
Another thing is that we don't know a thing about your system or how old it is. If it's an OEM computer that's over five years old then it may have a failing power supply. If it's an older laptop it may have a failing battery. A desktop built between 1999 and 2007 may well have failed capacitors as there was an industry-wide issue with failing electrolytic capacitors back then.
Overheating is always a problem with computers too. How long has it been since you cleaned out the inside of your computer? If you have a desktop that's acting up it never hurts to remove and re-seat the RAM , video card and, drive's power and data connectors and blow out the slots/ports to ensure that they don't have any dust in them and to clean corrosion off the contacts.
Run
HWMonitor to see if the system is running hot and if the voltages are as expected.