PDF download Download Article
Easy ways to choose a different time zone in Linux
PDF download Download Article

This wikiHow guide teaches you how to change the time zone on a Linux computer. You can change the time zone on every Linux distribution using the command line, either permanently with timedatectl, or temporarily with tzselect. If you're using Mint, Ubuntu, or any other distribution with a GUI, you can also change the time zone settings from the Settings menu.

Quick Steps

  1. Use the "timedatectl" command to see the current time zone.
  2. Use "timedatectl list-timezones" to view all time zone options.
  3. Filter the results with grep, e.g., "timedatectl list-timezones | grep America".
  4. Set the time zone with sudo "timedatectl set-timezone [Continent/City]".
Method 1
Method 1 of 4:

Using the Timedatectl Command

PDF download Download Article
  1. Open a terminal. You can use the timedatectl command in almost any version of Linux to change the timezone.
    • This method will work for all Debian and Red Hat-based Linux distributions, including Ubuntu, Debian, Linux Mint, and Fedora.
  2. Type timedatectl into Terminal and press Enter. The terminal will display the current time, time zone, and other details.[1]
    • If you see "System clock synchronized: yes", your system is set to obtain the time from an internet time server automatically. If you're trying to change the time to something other than your actual time zone, you must disable this feature using the command sudo timedatectl set-ntp false.
    Advertisement
  3. You can type timedatectl list-timezones and press Enter to view a list of all time zones, page by page, but it'll be pretty long. The best way to view the list is to filter it (using the grep command) by your city or country.
    • For example, all North American, Central American, and South American cities are listed under "America." To see time zones in this region, use timedatectl list-timezones
  4. Once you have the name of the time zone you want to use, you can use the timedatectl command again to set it permanently. Type sudo timedatectl set-timezone [timezone], but replace [timezone] with the time zone of your choice.
    • For example, sudo timedatectl set-timezone America/Vancouver.
  5. You can also use timedatectl to keep your Linux system time synced with an internet time server.
    • Type timedatectrl and press Enter. If you see "System clock synchronized: yes," your computer is already synced and will automatically receive the current date and time.
    • If It says "no," use sudo timedatectl set-ntp true to obtain the date and time automatically.
  6. Advertisement
Method 2
Method 2 of 4:

Using the tzselect Command

PDF download Download Article
  1. Open Terminal. If you want to change the time zone temporarily, you can use the tzselect command. Select the Terminal program from your Linux programs, or press Ctrl+Alt+T on your keyboard.
    • This method will work in Debian and Red Hat-based Linux versions.
  2. Type date into Terminal and press Enter. The terminal will display the date in Weekday Month Day Time TimeZone Year format.
    • For example, you might see something like Wed Mar 7 07:38:23 EDT 2017 wherein "EDT" refers to the current time zone (Eastern Daylight Time).
  3. This displays a list of continents and ocean regions (for islands).
  4. Type a selection number for your general location, then press Enter.
  5. Type a selection number from the on-screen list and press Enter.
  6. Depending on your selected region, you may have additional areas to select from, such as states or provinces.
    • If your city is not listed in the time zone list, pick a different city from your same time zone.
  7. If the information you see is correct, press 1 to accept it, then press Enter.
    • If the time isn't correct, type in 2 and press Enter, select a new continent, and repeat the process.
  8. Run the date command again and check that the time zone corresponds to the one you just changed to. If you see your new time zone listed, you have successfully changed your computer's time zone.
    • This change is temporary. When you reboot your Linux system, the time zone will reset to the default.
  9. Advertisement
Method 3
Method 3 of 4:

Using Ubuntu System Menus

PDF download Download Article
  1. In the Activities overview, type settings, then click Settings in the search results.
  2. You'll see this on the Settings menu. f
  3. Click the "Automatic Time Zone" switch in the middle of the page to do so.
    • If the "Automatic Time Zone" switch is gray, skip this step.
  4. It's near the bottom of the window. Doing so opens the Time Zone menu.
  5. Click your approximate location on the world map to do so, or type your city to search, then make your selection. You should see the time change to match the selected area's time zone.
  6. This will save your settings and update your time zone accordingly.
  7. Advertisement
Method 4
Method 4 of 4:

Using Linux Mint System Menus

PDF download Download Article
  1. It's in the "Preferences" group of options.
  2. Click a vertical slice of the map to pick that time zone. You should see the clock on the right side of the page immediately change to reflect the selected time zone's time.
  3. You need root privileges to change the time zone, so you'll likely be asked to enter your password now.
  4. It's at the bottom of the prompt. Doing so unlocks the Date & Time menu.
  5. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

You Might Also Like

Advertisement

About This Article

Nicole Levine, MFA
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for wikiHow. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. This article has been viewed 1,727,105 times.
How helpful is this?
Co-authors: 42
Updated: January 17, 2025
Views: 1,727,105
Categories: Linux
Thanks to all authors for creating a page that has been read 1,727,105 times.

Reader Success Stories

  • Alex Miller

    Alex Miller

    Feb 8, 2017

    "The commands written out were very helpful. It would be an improvement to the article to fix the screenshots, which..." more
Share your story

Is this article up to date?

Advertisement