I’d been noticing for some time that my computer clock wasn’t showing the correct time. I realized about it by comparing it with server clocks I administer, so I thought my PC wasn’t using an NTP server for syncing time & date.
Today I remembered and it resulted easier than I thought. Firstly I issued this command in a terminal to check it:
> timedatectl
Local time: lun 2019-08-19 18:11:19 -03 Universal time: lun 2019-08-19 21:11:19 UTC RTC time: lun 2019-08-19 21:11:19 Time zone: America/Montevideo (-03, -0300) System clock synchronized: no NTP service: no RTC in local TZ: no
Here you can clearly see that NTP service is disabled, so I had to enable it by running the following command:
> sudo timedatectl set-ntp true
After that checking again with timedatectl
we get:
Local time: lun 2019-08-19 20:43:43 -03 Universal time: lun 2019-08-19 23:43:43 UTC RTC time: lun 2019-08-19 23:43:43 Time zone: America/Montevideo (-03, -0300) System clock synchronized: yes NTP service: active RTC in local TZ: no
Done! Time and date synced.