Windows 10 and Linux Mint 18.3 Time change problem

If your time changes during dual boot with Linux Mint on Windows 10 than go to Linux Mint in the terminal and use this command.

timedatectl set-local-rtc 1