How to Set Time, Timezone and Synchronize System Clock Using timedatectl Command

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

6 Responses

  1. Brett E says:


    I did the following,

    # timedatectl set-ntp true

    But afterwards, the file /etc/systemd/timesyncd.conf, still had the Time servers commented out,


    My question is, does the timesyncd.conf file have to be edited after running, timedatectl set-ntp true ?

    Thank you.

    • Aaron Kili says:


      The default the internet cluster of ntp servers will be used. Unless you want to use the specified servers in /etc/systemd/timesyncd.conf, you can leave the time servers commented out.

  2. dn says:

    Has the software been tested for edge cases, eg UTC+13?

  3. dn says:

    These animated printouts are not an improvement – it looks cute, but the user has to wait to read what interests, and goes elsewhere.

    • eehh says:

      I had the very same thought about the animated examples since I came here just for a quick glance at timedatectl syntax and was turned off by visual bloat. Ironically, there’s a typo in item #8 — and the correct syntax can be seen in the GIF.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.