Skip to content

Did you know?

timedatectl changes the time zone in one command, no file editing needed.

List zones with timedatectl list-timezones.

Explained

On any systemd-based distribution, timedatectl shows and sets the clock, the time zone and NTP synchronization:

timedatectl
               Local time: Mon 2026-11-16 09:41:07 UTC
           Universal time: Mon 2026-11-16 09:41:07 UTC
                Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: yes
              NTP service: active

Find the right zone name and set it:

timedatectl list-timezones | grep -i kolkata
sudo timedatectl set-timezone Asia/Kolkata

This updates the /etc/localtime link for you. Services that read the time zone only when they start, such as cron or some application servers, show the new zone after a restart.

Many admins keep servers on UTC and convert times when they read logs: it avoids daylight saving surprises and makes logs from different servers line up. If System clock synchronized says no, turn on NTP with sudo timedatectl set-ntp true.

Learn more

← All tech tips · Suggest a fix

Back to top