Ubuntu set local time

After dual booting I started getting this issue. Time would be
incorrect when I switched from windows to linux or vice versa.
Cause is the OS's consider RTC to be UTC time. And switch it to local
time. And when both consider it UTC then actual time is messed up.
So I decided to have windows keep using UTC time and switched ubuntu
to local time.

1. Disable UTC and use Local Time in Ubuntu:

In previous Ubuntu editions, you can edit the config file
/etc/default/rcS to disable UTC.

In Ubuntu 16.04, open terminal (Ctrl+Alt+T) and run the command below instead:

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

To check out if your system uses Local time, just run:

timedatectl

Comments

Popular posts from this blog

Morning Quotes

QCalendarWidget CSS Stylesheeting

Selecting new phone plan