I had an issue with my clock changing by itself when booting back and forth between Ubuntu 18.04 and Windows 10. No matter how many times I corrected the clock, it would always change by itself when I booted back into the other operating system.
From what I’ve read, this happens because Ubuntu interprets the hardware clock or real time clock (RTC) in universal time (UTC) by default while Windows 10 maintains the clock in local time. I was able to resolve this by keeping RTC in local time in Ubuntu with the following command.
You can revert this back at any time by running this command.