The above command will begin and enable the systemd-timesyncd service. To make your system read RTC time in UTC commonplace, execute the following command. This clock runs all the time even if you shutdown your laptop. Your system’s clock shall be up to date instantly, as yow will discover out by entering date command in the terminal.
- You can change the time zone on every Linux distribution utilizing the command line, both completely with timedatectl, or quickly with tzselect.
- This article will talk about how to set a timezone in Ubuntu 22.04 utilizing three simple methods.
- As you presumably can see the time zone was efficiently modified.
- Now you have run a command to set the timezone on your server, however how are you aware you most likely did it right?
- Your system’s clock will be up to date instantly, as you can find out by coming into date command in the terminal.
Services
Generally, your system clock can still be incorrect even should you set the right time zone. To let your system learn RTC time in the local time zone, run this command After you hit the OK button, your system clock might be immediately modified to your time zone clock. Now that you’ve an inventory of available timezones, discover one that’s closest to you and set it on your system. So in this article, we’ll inform you how to set your Ubuntu server to the correct timezone. Now let’s cowl tips on how to change the current time zone on Linux.
The Way To Change The Timezone In Ubuntu (3 Easy Methods)
To do so, open Terminal or your command-line interface (CLI) and run the tzselect command. Since it is accessible from the desktop, users don’t should run any commands. Save my name, email, and website on this browser for the following time I remark. Thank you for taking the time to share your thoughts with us. Verify out Pro.Tecmint.com for ad-free studying, exclusive guides, downloadable sources, and certification prep (RHCSA, RHCE, LFCS) – all with lifetime access. This is extra convenient when you have to AlexHost SRL outline each the date and time at once.

Now press the area key and enter /etc/localtime. Enter the name of town similar to your time zone. Subsequent, select the town or area corresponding to your time zone. For more system admin tutorials and knowledge, try our full cloud server information. Now your Ubuntu cloud server can tell time properly. With the grep command, you can restrict your output to a search question.