Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save herodrigues/80e79668c4b7b2dcf6c7e273b2786369 to your computer and use it in GitHub Desktop.
Save herodrigues/80e79668c4b7b2dcf6c7e273b2786369 to your computer and use it in GitHub Desktop.

Linux:

timedatectl set-local-rtc 1 --adjust-system-clock

Windows:

  • Navigate to the following key in the left pane of the registry editor:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation
  • Right-click the “TimeZoneInformation” key and select New > DWORD (32-bit) Value.
  • Name your new value RealTimeIsUniversal.
  • Double-click the RealTimeIsUniversal value you just created, set is value data to 1, and click “OK”.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment