4 Ways To Change The Timezone In Linux - WikiHow

Skip to ContentQuizzes
  • Home
  • Random
  • Browse Articles
  • Quizzes & Games
  • All QuizzesHot
  • Love Quizzes
  • Personality Quizzes
  • Fun Games
  • Dating Simulator
  • Learn Something New
  • Forums
  • Courses
  • Happiness Hub
  • Explore More
  • Support wikiHow
  • About wikiHow
  • Log in / Sign up
Terms of Use wikiHow is where trusted research and expert knowledge come together. Learn why people trust wikiHow Linux: Set the Time Zone on Ubuntu, Debian, Red Hat, & More PDF download Download Article Easy ways to choose a different time zone in Linux Written by Nicole Levine, MFA

Last Updated: January 17, 2025 Fact Checked

PDF download Download Article
  • Timedatectl Command
  • |
  • Tzselect Command
  • |
  • Ubuntu GUI
  • |
  • Linux Mint GUI
  • |
  • Video
  • |
  • Tips
|Show more |Show less X

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 fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources. This article has been viewed 1,731,857 times. Learn more...

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]".

Steps

Method 1 Method 1 of 4:

Using the Timedatectl Command

PDF download Download Article
  1. Step 1 Open a terminal... 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. Step 2 Check your current time zone. 2 Check your current time zone. 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. Step 3 View the list of time zones. 3 View the list of time zones. 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. Step 4 Set the time zone. 4 Set the time zone. 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. Step 5 Set your clock to stay synced with internet time servers if you like. 5 Set your clock to stay synced with internet time servers if you like. 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. Step 1 Open Terminal... 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. Step 2 Check your current time zone. 2 Check your current time zone. 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. Step 3 Type tzselect and press ↵ Enter. 3 Type tzselect and press Enter. This displays a list of continents and ocean regions (for islands).
  4. Step 4 Select a continent or ocean region. 4 Select a continent or ocean region. Type a selection number for your general location, then press Enter.
  5. Step 5 Select a country. 5 Select a country. Type a selection number from the on-screen list and press Enter.
  6. Step 6 Select a time zone. 6 Select a time zone. 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. Step 7 Confirm the local time. 7 Confirm the local time. 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. Step 8 Verify that your time zone has been set. 8 Verify that your time zone has been set. 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. Step 1 Open your Ubuntu settings. 1 Open your Ubuntu settings. In the Activities overview, type settings, then click Settings in the search results.
  2. Step 2 Click Date & Time. 2 Click Date & Time. You'll see this on the Settings menu. f
  3. Step 3 Turn off Automatic Time Zone. 3 Turn off Automatic Time Zone. 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. Step 4 Click Time Zone. 4 Click Time Zone. It's near the bottom of the window. Doing so opens the Time Zone menu.
  5. Step 5 Select a time zone. 5 Select a time zone. 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. Step 6 Close the window. 6 Close the window. 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. 1
    1. Open your Linux Mint settings. To do this, click the menu and select the System Settings icon. It's made of two grey cogs.Step 1
  2. Step 2 Click Date & Time. 2 Click Date & Time. It's in the "Preferences" group of options.
  3. Step 3 Select a time zone. 3 Select a time zone. 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.
  4. Step 4 Enter your user password when prompted. 4 Enter your user password when prompted. You need root privileges to change the time zone, so you'll likely be asked to enter your password now.
  5. Step 5 Click Authenticate. 5 Click Authenticate. It's at the bottom of the prompt. Doing so unlocks the Date & Time menu.
  6. Advertisement

Expert Q&A

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

Video

Tips

  • Some applications (such as PHP) have separate timezone settings from the system timezone. Thanks Helpful 0 Not Helpful 0
Submit a Tip All tip submissions are carefully reviewed before being published Name Please provide your name and last initial Submit Thanks for submitting a tip for review! Advertisement

You Might Also Like

Set Your Time and Time Zone Manually WindowsHow to Set the Date and Time Manually in Windows 11 & 10 (2 Ways) Change the Computer Time and Date Using the Command PromptHow toChange the Computer Time and Date Using the Command Prompt Change Hostname on LinuxHow to Change the Hostname on Linux Without Rebooting Assign an IP Address on a Linux ComputerHow toAssign an IP Address on a Linux Computer Change the Time Zone in OutlookHow toChange the Time Zone in Outlook Change Keyboard Layout in UbuntuChange the Keyboard Layout in Ubuntu: GUI, Terminal, Console Change Time Zone in TeamsEasy Ways to Change the Time Zone in Microsoft Teams Run a Program from the Command Line on LinuxHow toRun a Program from the Command Line on Linux Set the Time on a Cisco RouterHow to Set the Time on a Cisco Router: Quick Guide Change Date and Time on an Android PhoneHow to Change Date and Time on any Android Device Set Windows 10 to Automatically Update Your Time Zone Based on LocationHow toSet Windows 10 to Automatically Update Your Time Zone Based on Location Become Root in LinuxHow to Access and Use the Root Account in Linux Route All Network Traffic Through the Tor Network4 Ways to Route All Traffic Through the Tor Network Change Date and Time on the iPhoneHow to Change the Date and Time on iPhone: Steps & Troubleshooting Advertisement

References

  1. https://docs.fedoraproject.org/en-US/fedora/f40/system-administrators-guide/basic-system-configuration/Configuring_the_Date_and_Time/

About This Article

Nicole Levine, MFA Written by: Nicole Levine, MFA 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,731,857 times. How helpful is this? Co-authors: 42 Updated: January 17, 2025 Views: 1,731,857 Categories: Linux In other languages Spanish Italian German Russian Portuguese French Indonesian Arabic Chinese Thai Vietnamese Turkish Japanese Hindi Korean
  • Print
  • Send fan mail to authors
Thanks to all authors for creating a page that has been read 1,731,857 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?

Yes No Advertisement Cookies make wikiHow better. By continuing to use our site, you agree to our cookie policy. Nicole Levine, MFA Written by: Nicole Levine, MFA wikiHow Technology Writer Click a star to vote Co-authors: 42 Updated: January 17, 2025 Views: 1,731,857 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 yours!

Quizzes & Games

Where Should I Move QuizWhere Should I Move QuizTake QuizGuess the Flag QuizGuess the Flag QuizTake QuizGuess the Language QuizGuess the Language QuizTake QuizWhat Season Am I QuizWhat Season Am I QuizTake QuizWorld History Trivia QuizWorld History Trivia QuizTake QuizChronotype Quiz: What's Your Natural Sleep Cycle?Chronotype Quiz: What's Your Natural Sleep Cycle?Take Quiz

You Might Also Like

Set Your Time and Time Zone Manually WindowsHow to Set the Date and Time Manually in Windows 11 & 10 (2 Ways)Change the Computer Time and Date Using the Command PromptHow toChange the Computer Time and Date Using the Command PromptChange Hostname on LinuxHow to Change the Hostname on Linux Without RebootingAssign an IP Address on a Linux ComputerHow toAssign an IP Address on a Linux Computer

Trending Articles

Am I Good at Flirting QuizAm I Good at Flirting QuizHow Sexual Am I QuizHow Sexual Am I QuizHow Many Secret Admirers Do I Have QuizHow Many Secret Admirers Do I Have QuizRank My Attractiveness QuizRank My Attractiveness Quiz5 Different Types of Butts: Find Your Shape5 Different Types of Butts: Find Your ShapeWhat Would My Nickname Be QuizWhat Would My Nickname Be Quiz

Watch Articles

Impress a Girl on a First DateHow toImpress a Girl on a First DateWhat Are Tear Burns on TikTok and What Causes Them?What Are Tear Burns on TikTok and What Causes Them?Wear a HoodieHow toWear a HoodieChiffonadeHow toChiffonadeMake a Fabric RoseHow toMake a Fabric RoseConfront a BullyHow toConfront a Bully

Trending Articles

What Is My Intelligence Type QuizWhat Is My Intelligence Type Quiz210+ Shower Thoughts: Funny, Deep, Weird & Mind-Blowing210+ Shower Thoughts: Funny, Deep, Weird & Mind-BlowingTell That Your Crush Likes You BackHow toTell That Your Crush Likes You BackDepression Test for TeensDepression Test for TeensSCP Fight Simulator: Who Will Win?SCP Fight Simulator: Who Will Win?Am I Autistic QuizAm I Autistic Quiz

Quizzes & Games

Countries of the World QuizCountries of the World QuizTake QuizWhat Language Should I Learn QuizWhat Language Should I Learn QuizTake QuizWhat's My Perfect Vacation Spot QuizWhat's My Perfect Vacation Spot QuizTake QuizCan We Guess Your Birthday QuizCan We Guess Your Birthday QuizTake QuizTime Travel SimulatorTime Travel SimulatorPlayWhat Time of Day Am I QuizWhat Time of Day Am I QuizTake Quiz wikiHow
  • Categories
  • Computers and Electronics
  • Operating Systems
  • Linux
wikiHow Newsletter You're all set! Helpful how-tos delivered toyour inbox every week! Sign me up! By signing up you are agreeing to receive emails according to our privacy policy.
  • Home
  • About wikiHow
  • Experts
  • Jobs
  • Contact Us
  • Site Map
  • Terms of Use
  • Privacy Policy
  • Do Not Sell or Share My Info
  • Not Selling Info
  • Contribute

Follow Us

×

wikiHow Tech Help Pro:

Level up your tech skills and stay ahead of the curve

Let's go! X --772

Tag » How To Set Timezone In Linux