Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Change the Timezone in Linux

Learn how to change the timezone in linux with clear steps, practical context, and useful troubleshooting guidance.

Table of Contents

This updated guide examines How to Change the Timezone in Linux and organizes the essential facts, background, and practical takeaways in clear American English.

Method 1of 4:

Using the Command Line

  1. How to Change the Timezone in Linux — contextual image 1 Open Terminal. Select the Terminal program from your Linux programs, or pressCtrl+Alt+Ton your keyboard.
  2. How to Change the Timezone in Linux — contextual image 2 Check your current time zone. Typedateinto Terminal and press?Enter. The terminal will display the date inWeekday Month Day Time TimeZone Yearformat.
    • For example, you might see something likeWed Mar 7 07:38:23 EDT 2017wherein "EDT" refers to the current time zone (Eastern Daylight Time).
  3. How to Change the Timezone in Linux — contextual image 3 Check available time zones. Type incd /usr/share/zoneinfoand press?Enter, then type intzselectand press?Enterto display a list of locations.
    • The/usr/share/zoneinfodirectory may vary depending on your Linux distribution.
  4. How to Change the Timezone in Linux — contextual image 4 Select a continent or ocean. Type in a selection number that pertains to your general location, then press?Enter.
  5. How to Change the Timezone in Linux — contextual image 5 Select a country. Type in a selection number from the on-screen list and press?Enter.
  6. How to Change the Timezone in Linux — contextual image 6 Select a time zone. Type in a selection number to select the preferred time zone region and press?Enter.
    • If your city is not listed in the time zone list, pick a different city from your same time zone.
  7. How to Change the Timezone in Linux — contextual image 7 Confirm the local time. In the following prompt, confirm that the local time is correct by typing 1 and then pressing?Enter.
    • If the time isn't correct, type in2and press?Enter, then select a new continent and repeat the process.
  8. How to Change the Timezone in Linux — contextual image 8 Verify that your time zone has been set. Run thedatecommand again and check that the time zone corresponds to the one you just changed to. If you see you new time zone listed, you have successfully changed your computer's time zone.
  9. How to Change the Timezone in Linux — contextual image 9 Set your clock to stay synced with internet time servers if you like. Most modern distributions have NTP already installed. If your Linux distribution does not, you will need to install the NTP server package. Use the following commands to install it, depending on your Linux distribution:
    • Ubuntu/Mint/Debian :sudo apt install ntpdate
    • CentOS :sudo yum install ntpdate sudo /sbin/chkconfig ntpd on
    • Fedora/RedHat :sudo yum install ntpdate sudo chkconfig ntpd on
    • Enterntpdate server link && hwclock –wafter the installation command, making sure to enter the link to the website in place of server link .

Method 2of 4:

Using the Timezone Selection Menu

  1. How to Change the Timezone in Linux — contextual image 10 Open Terminal. Select the Terminal program from your Linux programs, or pressCtrl+Alt+Ton your keyboard.
  2. How to Change the Timezone in Linux — contextual image 11 Enter the time zone menu command. Depending on your Linux distribution, this command will vary:
    • Ubuntu and Mint -sudo dpkg-reconfigure tzdatafollowed by the admin/user password.
    • Redhat -redhat-config-date
    • CentOS and Fedora -system-config-date
    • ' FreeBSD and Slackware -tzselect
  3. How to Change the Timezone in Linux — contextual image 12 Select your geographic area. Use the arrow keys to select the geographic area the country is found in, then press?Enter.
  4. How to Change the Timezone in Linux — contextual image 13 Select your city/region. Select the city or region corresponding to your time zone, then press?Enter. This will change the time zone on your system.[1]

Method 3of 4:

Using the Graphical User Interface in Ubuntu

  1. How to Change the Timezone in Linux — contextual image 14 Click the "System Menu" iconHow to Change the Timezone in Linux — contextual image 15. It's a downward-facing triangle in the upper-right corner of the screen. A drop-down menu will appear.[2]
  2. How to Change the Timezone in Linux — contextual image 16 Click the "Settings" icon. This wrench-and-screwdriver-shaped icon is in the lower-left corner of the drop-down menu. Doing so opens the Ubuntu Control Center.
  3. How to Change the Timezone in Linux — contextual image 17 Scroll down and clickDetails. It's at the bottom of the sidebar that's on the left side of the window.
    • Make sure that your mouse is over the left-hand sidebar when scrolling.
  4. How to Change the Timezone in Linux — contextual image 18 ClickDate & Time. You'll find this tab on the left side of the window.
  5. How to Change the Timezone in Linux — contextual image 19 Turn off Automatic Time Zone. Click the blue "Automatic Time Zone" switch in the middle of the page to do so.
    • If the "Automatic Time Zone" switch is grey, skip this step.
  6. How to Change the Timezone in Linux — contextual image 20 ClickTime Zone. It's near the bottom of the window. Doing so opens the Time Zone menu.
  7. How to Change the Timezone in Linux — contextual image 21 Select a time zone. Click your approximate location on the world map to do so. You should see the time change to match the selected area's time zone.
  8. How to Change the Timezone in Linux — contextual image 22 Close the window. This will save your settings and update your time zone accordingly.

Method 4of 4:

Using the Graphical User Interface in Mint

  1. How to Change the Timezone in Linux — contextual image 23 Open the Menu. Click Menu in the bottom-left corner of the screen.
  2. How to Change the Timezone in Linux — contextual image 24 Click the System Settings icon. It's made of two grey cogs. You'll find it on the left side of the Menu window.
  3. How to Change the Timezone in Linux — contextual image 25 ClickDate & Time. It's in the "Preferences" group of options.
  4. How to Change the Timezone in Linux — contextual image 26 ClickUnlock. You'll find this on the right side of the window.
  5. How to Change the Timezone in Linux — contextual image 27 Enter your user password when prompted. Type in the password that you use to log into your computer.
  6. How to Change the Timezone in Linux — contextual image 28 ClickAuthenticate. It's at the bottom of the prompt. Doing so unlocks the Date & Time menu.
  7. How to Change the Timezone in Linux — contextual image 29 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.
  8. How to Change the Timezone in Linux — contextual image 30 ClickLock. It's on the right side of the window. Doing so saves your time zone preferences and locks the Date & Time menu.

FAQ

What is How to Change the Timezone in Linux about?

It provides a structured overview of time, explains the main context, and highlights practical takeaways for readers.

Why does this topic matter?

Understanding the main concepts helps readers evaluate the issue, avoid common mistakes, and make better-informed decisions.

How should readers use this information?

Use the guidance as a practical starting point, confirm details that may have changed, and follow current product, safety, or security recommendations.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.