This question already has an answer here:
- Clock time is off on dual boot 4 answers
When I boot into Windows 7, the time maybe for example set to 3:04 pm. The real time being 11:04 am. Then I reboot and go into Ubuntu and the time is set to 7:04 am. With the same date in both. I go into BIOS and Windows syncs it with the time it believes it is so it'll be set to 3:04 pm. I've tried changing them all to the right time. Turning off online sync with both. And disabling UTC in ubuntu with command
$sudo hwclock --localtime
nothing has worked.