How to Set Time, Timezone and Sync Server Clock in Linux

How to Set Time, Timezone and Sync Server Clock in Linux

Written By
T
TecMint
Feb 11, 2026

In this article, learn how to set time, timezone, and synchronize your Linux system clock with NTP using timedatectl, systemd-timesyncd, and chrony.

The ‘timedatectl‘ command is a utility for RHEL-based and Debian-based distributions, and it is a part of the ‘systemd‘ system and service manager, serving as a replacement for the old traditional date command used in ‘sysvinit‘ daemon-based Linux distributions.

The timedatectl command allows you to query and change the configuration of the system clock and its settings, you can use this command to set or change the current date, time, and timezone, or enable automatic system clock synchronization with a remote NTP server.

T

TecMint

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.