Control system clock, timezone and NTP synchronization with a single systemd-native tool. 15.05.2026 | reading time: 2 min Ever logged into a server and found wrong timestamps in logs? Use timedatectl to inspect and change the system clock, the timezone and NTP settings from the command line in a systemd-based Linux. Hands-on: correct timezone and enable NTP Try this sequence on a machine where logs show the wrong timezone: ```bash $ timedatectl status Local time: Mon 2026-05-11 10:12:34 UTC Universal time: Mon 2026-05-11 10:12:34 UTC RTC time: Mon 2026-05-11 10:12:33 Time zone: UTC (UTC, +0000) System clock synchronized: no NTP service: inactive $ sudo timedatectl set-timezone Europe/Berlin $ sudo timedatectl set-ntp true $ timedatectl status Local time: Mon 2026-05-11 12:12:45 CEST Universal time: Mon 2026-05-11 10:12:45 UTC RTC time: Mon 2026-05-11 10:12:44 Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: active ``` Useful knobs and quick wins List available timezones with `timedatectl list-timezones`, set the hardware clock interpretation with `timedatectl set-local-rtc 1` if the BIOS stores localtime, set an exact clock with `timedatectl set-time "YYYY-MM-DD HH:MM:SS"`, and inspect low-level properties with `timedatectl show` when scripting or debugging. When to reach for other utilities timedatectl is the central controller on systemd systems but it often cooperates with other programs: use `hwclock` to read or write the RTC directly for one-off adjustments, deploy `chronyd` or `ntpd` for advanced NTP features on unstable networks, and check `journalctl` or `systemctl status systemd-timesyncd` when synchronization fails. Next step for the curious Mastering timedatectl clears many timing problems quickly and gives a solid grounding in systemd-based housekeeping; keep experimenting and consider formalizing skills with certifications and focused training at bitsandbytes.academy as an intensive exam preparation path. Join Bits & Bytes Academy First class LINUX exam preparation. utilities network boot-process