{"id":2509,"date":"2023-06-08T09:00:57","date_gmt":"2023-06-08T09:00:57","guid":{"rendered":"https:\/\/draculaservers.com\/tutorials\/?p=2509"},"modified":"2023-06-06T06:50:47","modified_gmt":"2023-06-06T06:50:47","slug":"set-timezone-ubuntu","status":"publish","type":"post","link":"https:\/\/draculaservers.com\/tutorials\/set-timezone-ubuntu\/","title":{"rendered":"How to Set Timezone on Ubuntu?"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Having an accurate timezone is crucial for streamlining processes on a Linux-based or a Debian-based Operating system, especially if you are running VPS Servers or scheduled cron jobs. Moreover, if you are a Linux System Administrator executing pipeline integration (for example, Jenkins), then having the correct timezone becomes all the more important.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This tutorial will illustrate the process of setting the timezone in Ubuntu using different methods. The following is the content of this post:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Method 1: Use GUi to Set Timezone in Ubuntu<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Method 2: Use the timedatectl Command to Set Timezone in Ubuntu<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Difference Between GUI and timedatectl Command to Set Timezone in Ubuntu<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Method 3: Change Timezone on Old Versions of Ubuntu<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Bonus: How to Find the Current Timezone in Ubuntu?<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Let\u2019s get started with the first one!<\/span><\/p>\n<h2 id=\"method-1-use-gui-to-set-timezone-in-ubuntu\"><span style=\"font-weight: 400;\">Method 1: Use GUI to Set Timezone in Ubuntu<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">In this method, you don\u2019t require any commands or command-line utility to update your timezone. From the Desktop, click on the \u201c<\/span><b>Show Applications<\/b><span style=\"font-weight: 400;\">\u201d Icon:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/1-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2512\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/1-1.png\" alt=\"\" width=\"965\" height=\"511\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/1-1.png 965w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/1-1-300x159.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/1-1-768x407.png 768w\" sizes=\"auto, (max-width: 965px) 100vw, 965px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">From the applications menu, search for \u201c<\/span><b>Settings<\/b><span style=\"font-weight: 400;\">\u201d and click on the settings icon:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/2-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2513\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/2-1.png\" alt=\"\" width=\"1104\" height=\"520\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/2-1.png 1104w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/2-1-300x141.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/2-1-1024x482.png 1024w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/2-1-768x362.png 768w\" sizes=\"auto, (max-width: 1104px) 100vw, 1104px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">This will open up the settings of your Ubuntu Installation:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/3-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2514\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/3-1.png\" alt=\"\" width=\"972\" height=\"810\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/3-1.png 972w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/3-1-300x250.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/3-1-768x640.png 768w\" sizes=\"auto, (max-width: 972px) 100vw, 972px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">Scroll the left-side navigation panel and click on the \u201c<\/span><b>Date &amp; Time<\/b><span style=\"font-weight: 400;\">\u201d option:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/4-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2515\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/4-1.png\" alt=\"\" width=\"561\" height=\"320\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/4-1.png 561w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/4-1-300x171.png 300w\" sizes=\"auto, (max-width: 561px) 100vw, 561px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">From the Date and Time options, click on the bar that says \u201c<\/span><b>Time Zone<\/b><span style=\"font-weight: 400;\">\u201d to open up the timezone selection map:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/5-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2516\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/5-1.png\" alt=\"\" width=\"723\" height=\"491\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/5-1.png 723w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/5-1-300x204.png 300w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">Doing this will open up a World Map, from where you can click on the country to set its timezone as your default:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/6-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2517\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/6-1.png\" alt=\"\" width=\"818\" height=\"469\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/6-1.png 818w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/6-1-300x172.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/6-1-768x440.png 768w\" sizes=\"auto, (max-width: 818px) 100vw, 818px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">Alternatively, you can also search for a specific country in the search bar to set its timezone as your default:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/7-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2518\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/7-1.png\" alt=\"\" width=\"813\" height=\"468\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/7-1.png 813w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/7-1-300x173.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/7-1-768x442.png 768w\" sizes=\"auto, (max-width: 813px) 100vw, 813px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">After that, simply exit from the map, and you have successfully set your timezone in Ubuntu:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/8-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2519\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/8-1.png\" alt=\"\" width=\"690\" height=\"399\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/8-1.png 690w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/8-1-300x173.png 300w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/a><\/p>\n<h2 id=\"method-2-use-the-timedatectl-command-to-set-timezone-in-ubuntu\"><span style=\"font-weight: 400;\">Method 2: Use the timedatectl Command to Set Timezone in Ubuntu<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">In this method, you will use the command line utility \u201ctimedatectl\u201d to check and set the timezone of your Ubuntu Installation. To do this, simply open up a terminal (CTRL + ALT + T) and type in the following command:<\/span><\/p>\n<pre>timedatectl<\/pre>\n<p><span style=\"font-weight: 400;\">Running this command will display the following output on the terminal:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/9-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2520\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/9-1.png\" alt=\"\" width=\"971\" height=\"292\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/9-1.png 971w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/9-1-300x90.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/9-1-768x231.png 768w\" sizes=\"auto, (max-width: 971px) 100vw, 971px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">To set the timezone using the timedatectl command, you must know the exact name of the continent\/city or the correct timezone format. To know this, type the following command in the terminal:<\/span><\/p>\n<pre>timedatectl list-timezones<\/pre>\n<p><span style=\"font-weight: 400;\">Running this command will show a long list of all the available timezone that can be set as your default:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/10-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2521\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/10-1.png\" alt=\"\" width=\"964\" height=\"664\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/10-1.png 964w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/10-1-300x207.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/10-1-768x529.png 768w\" sizes=\"auto, (max-width: 964px) 100vw, 964px\" \/><\/a><\/p>\n<p><b>Note<\/b><span style=\"font-weight: 400;\">: To scroll and find the timezone and format you want, use the Page Up and Page Down keys of the keyboard. Press CTRL + Z to exit from the list.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">After that, use the following command template to set the timezone:<\/span><\/p>\n<pre>timedatectl set-timezone continent\/country\/city<\/pre>\n<p><span style=\"font-weight: 400;\">Suppose you want to set the time zone to Cordoba. Then the command will become:<\/span><\/p>\n<pre>timedatectl set-timezone America\/Argentina\/Cordoba<\/pre>\n<p><span style=\"font-weight: 400;\">After executing this command, you can verify the change by simply typing in the following command:<\/span><\/p>\n<pre>timedatectl<\/pre>\n<p><span style=\"font-weight: 400;\">This time around, the following will be displayed as the output on the terminal:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/11-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2522\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/11-1.png\" alt=\"\" width=\"974\" height=\"259\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/11-1.png 974w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/11-1-300x80.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/11-1-768x204.png 768w\" sizes=\"auto, (max-width: 974px) 100vw, 974px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">You have successfully changed the timezone using the command \u201c<\/span><b>timedatectl<\/b><span style=\"font-weight: 400;\">.\u201d<\/span><\/p>\n<h3 id=\"filtering-timezone-format-from-list-timezones-flag\">Filtering Timezone Format from list-timezones Flag<\/h3>\n<p><span style=\"font-weight: 400;\">Instead of iterating through the list of timezones to find the correct format, you can also use the grep filtering to quickly find out the timezone format of the continent or the city that you want to select.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To do this, use the following template:<\/span><\/p>\n<pre>timedatectl list-timezones | grep -i continent\/country<\/pre>\n<p><span style=\"font-weight: 400;\">Suppose you want to find all the timezones of Asia, then you can choose the following command:<\/span><\/p>\n<pre>timedatectl list-timezones | grep -i asia<\/pre>\n<p><span style=\"font-weight: 400;\">Running this command will produce the following outcome on the terminal:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/12-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2523\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/12-1.png\" alt=\"\" width=\"970\" height=\"499\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/12-1.png 970w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/12-1-300x154.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/12-1-768x395.png 768w\" sizes=\"auto, (max-width: 970px) 100vw, 970px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">You can use the same template to find the timezone format of a specific city. For example, find the timezone format of Chicago using the following command:<\/span><\/p>\n<pre>timedatectl list-timezones | grep -i chicago<\/pre>\n<p><span style=\"font-weight: 400;\">This will return the timezone format of Chicago:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/13-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2524\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/13-1.png\" alt=\"\" width=\"829\" height=\"82\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/13-1.png 829w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/13-1-300x30.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/13-1-768x76.png 768w\" sizes=\"auto, (max-width: 829px) 100vw, 829px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">Afterward, use the set-timezone flag to set the time zone using the timezone format you just searched:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/14-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2525\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/14-1.png\" alt=\"\" width=\"979\" height=\"109\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/14-1.png 979w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/14-1-300x33.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/14-1-768x86.png 768w\" sizes=\"auto, (max-width: 979px) 100vw, 979px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">That is all for changing the timezone on Ubuntu using the timedatectl command.<\/span><\/p>\n<h2 id=\"difference-between-gui-and-timedatectl-command-for-timezone-in-ubuntu\"><span style=\"font-weight: 400;\">Difference Between GUI and timedatectl Command for Timezone in Ubuntu<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">While both of these methods are used to change the timezone of your <a href=\"https:\/\/ubuntu.com\/\" target=\"_blank\" rel=\"noopener\">Ubuntu<\/a> installation, this doesn\u2019t mean that these methods should be or could be used for every instance of Ubuntu.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The GUI method is best suited for changing the timezone on the Desktop installation of Ubuntu (Non-Server installation). Whereas the command line utility \u201ctimedatectl\u201d can be used for Ubuntu Desktop and Ubuntu Server installation.<\/span><\/p>\n<h2 id=\"affordable-vps-hosting-with-dracula-servers\"><span style=\"font-weight: 400;\">Affordable VPS Hosting With Dracula Servers<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Dracula Servers offers high-performance server hosting at entry-level prices. The plans include Linux VPS, Sneaker Servers, Dedicated Servers &amp; turnkey solutions. If you&#8217;re looking for quality self-managed servers with high amounts of RAM and storage, look no further.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Dracula Server Hosting is also Perfect for Hosting Telegram.Forex App with built-in support for MT4 with trade copier. Check the plans for yourself by clicking <a href=\"https:\/\/draculaservers.com\/#pick-plan\" target=\"_blank\" rel=\"noopener\">Here<\/a>!<\/span><\/p>\n<h2 id=\"method-3-change-timezone-on-old-versions-of-ubuntu\"><span style=\"font-weight: 400;\">Method 3: Change Timezone on Old Versions of Ubuntu<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">If you are still running an older version of Ubuntu (version 16 or prior), then the above-mentioned commands might not work for you. For such Ubuntu versions, follow the below-given steps:<\/span><\/p>\n<ol>\n<li><span style=\"font-weight: 400;\"> Open a terminal and Execute the command \u201c<\/span><b>sudo dpkg-reconfigure tzdata<\/b><span style=\"font-weight: 400;\">\u201d<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> Choose your preferred region from the list inside the package configuration window that opens up.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> Select the \u201c<\/span><b>OK<\/b><span style=\"font-weight: 400;\">\u201d<\/span> <span style=\"font-weight: 400;\">option and press the Enter key.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> After that, select the city from the new list that pops up.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> You will receive an output confirmation on the terminal that the timezone has successfully changed.<\/span><\/li>\n<\/ol>\n<h2 id=\"bonus-how-to-find-the-current-timezone-in-ubuntu\"><span style=\"font-weight: 400;\">Bonus: How to Find the Current Timezone in Ubuntu?<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">To check the current timezone of your Ubuntu Installation, you can use the \u201c<\/span><b>timedatectl<\/b><span style=\"font-weight: 400;\">\u201d command or head inside the \u201c<\/span><b>Date &amp; Time<\/b><span style=\"font-weight: 400;\">\u201d section of the settings applications.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Alternatively, you can also use the \u201c<\/span><b>date<\/b><span style=\"font-weight: 400;\">\u201d to check whether your date is correct according to your preferred time zone. And in case you want to find where the timezone list is maintained in Ubuntu. Then the file path is \u201c<strong>\/etc\/timezone<\/strong>.\u201d<\/span><\/p>\n<h2 id=\"wrap-up\"><span style=\"font-weight: 400;\">Wrap up<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Setting an accurate timezone on your Ubuntu Desktop or especially on your Ubuntu Server installation is quite crucial. There are two main methods of changing the timezone, the <\/span><b>GUI method<\/b><span style=\"font-weight: 400;\"> using the <\/span><b>settings application<\/b><span style=\"font-weight: 400;\"> and the command-line utility \u201c<\/span><b>timedatectl<\/b><span style=\"font-weight: 400;\">.\u201d<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Using the GUI method for Ubuntu Desktop installation and the command-line utility for Ubuntu Server installations is recommended. If these methods don\u2019t work for an older version of Ubuntu, then you will have to change the configuration of the \u201c<\/span><b>tzdata<\/b><span style=\"font-weight: 400;\">\u201d using the command mentioned above.\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/\" target=\"_blank\" rel=\"noopener\">Check out more useful Linux\/Ubuntu Tutorials Here!<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Having an accurate timezone is crucial for streamlining processes on a Linux-based or a Debian-based Operating system, especially if you are running VPS Servers or scheduled cron jobs. Moreover, if you are a Linux System Administrator executing pipeline integration (for example, Jenkins), then having the correct timezone becomes all the more important. This tutorial will [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":2510,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,22],"tags":[102,136,135,34,137],"class_list":["post-2509","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-basics","category-ubuntu","tag-linux","tag-timedatectl","tag-timezone","tag-ubuntu","tag-vps-hosting"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"featured_image_urls_v2":{"full":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/How-to-Set-Timezone-on-Ubuntu.png",1280,720,false],"thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/How-to-Set-Timezone-on-Ubuntu-150x150.png",150,150,true],"medium":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/How-to-Set-Timezone-on-Ubuntu-300x169.png",300,169,true],"medium_large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/How-to-Set-Timezone-on-Ubuntu-768x432.png",768,432,true],"large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/How-to-Set-Timezone-on-Ubuntu-1024x576.png",1024,576,true],"1536x1536":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/How-to-Set-Timezone-on-Ubuntu.png",1280,720,false],"2048x2048":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/How-to-Set-Timezone-on-Ubuntu.png",1280,720,false],"pk-small":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/How-to-Set-Timezone-on-Ubuntu-80x80.png",80,80,true],"pk-thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/How-to-Set-Timezone-on-Ubuntu-300x225.png",300,225,true]},"post_excerpt_stackable_v2":"<p>Having an accurate timezone is crucial for streamlining processes on a Linux-based or a Debian-based Operating system, especially if you are running VPS Servers or scheduled cron jobs. Moreover, if you are a Linux System Administrator executing pipeline integration (for example, Jenkins), then having the correct timezone becomes all the more important. This tutorial will illustrate the process of setting the timezone in Ubuntu using different methods. The following is the content of this post: Method 1: Use GUi to Set Timezone in Ubuntu Method 2: Use the timedatectl Command to Set Timezone in Ubuntu Difference Between GUI and timedatectl&hellip;<\/p>\n","category_list_v2":"<a href=\"https:\/\/draculaservers.com\/tutorials\/category\/linux-basics\/\" rel=\"category tag\">Linux Basics<\/a>, <a href=\"https:\/\/draculaservers.com\/tutorials\/category\/ubuntu\/\" rel=\"category tag\">Ubuntu<\/a>","author_info_v2":{"name":"Abdul Mannan","url":"https:\/\/draculaservers.com\/tutorials\/author\/abdul-mannan-tbgmail-com\/"},"comments_num_v2":"0 comments","yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Set Timezone on Ubuntu? - Dracula Servers Tutorials<\/title>\n<meta name=\"description\" content=\"To set the Time zone in Ubuntu, use the Date &amp; Time section with in the settings applications or use the &quot;timedatectl&quot; command-line utility.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/draculaservers.com\/tutorials\/set-timezone-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set Timezone on Ubuntu? - Dracula Servers Tutorials\" \/>\n<meta property=\"og:description\" content=\"To set the Time zone in Ubuntu, use the Date &amp; Time section with in the settings applications or use the &quot;timedatectl&quot; command-line utility.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/draculaservers.com\/tutorials\/set-timezone-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"Dracula Servers Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-08T09:00:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/How-to-Set-Timezone-on-Ubuntu.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Abdul Mannan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abdul Mannan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-timezone-ubuntu\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-timezone-ubuntu\\\/\"},\"author\":{\"name\":\"Abdul Mannan\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ac89d0281f4fb596bfaa0bc1e746c8a6\"},\"headline\":\"How to Set Timezone on Ubuntu?\",\"datePublished\":\"2023-06-08T09:00:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-timezone-ubuntu\\\/\"},\"wordCount\":1056,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-timezone-ubuntu\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/How-to-Set-Timezone-on-Ubuntu.png\",\"keywords\":[\"linux\",\"timedatectl\",\"Timezone\",\"Ubuntu\",\"VPS Hosting\"],\"articleSection\":[\"Linux Basics\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-timezone-ubuntu\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-timezone-ubuntu\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-timezone-ubuntu\\\/\",\"name\":\"How to Set Timezone on Ubuntu? - Dracula Servers Tutorials\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-timezone-ubuntu\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-timezone-ubuntu\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/How-to-Set-Timezone-on-Ubuntu.png\",\"datePublished\":\"2023-06-08T09:00:57+00:00\",\"description\":\"To set the Time zone in Ubuntu, use the Date & Time section with in the settings applications or use the \\\"timedatectl\\\" command-line utility.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-timezone-ubuntu\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-timezone-ubuntu\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-timezone-ubuntu\\\/#primaryimage\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/How-to-Set-Timezone-on-Ubuntu.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/How-to-Set-Timezone-on-Ubuntu.png\",\"width\":1280,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-timezone-ubuntu\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Set Timezone on Ubuntu?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"name\":\"Dracula Servers Tutorials\",\"description\":\"Dedicated Servers\",\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\",\"name\":\"Dracula Servers\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"width\":1625,\"height\":200,\"caption\":\"Dracula Servers\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ac89d0281f4fb596bfaa0bc1e746c8a6\",\"name\":\"Abdul Mannan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"caption\":\"Abdul Mannan\"},\"description\":\"An individual trying to decipher the enigmas of technology by the sheer driving force of curiosity. Interested in learning new skills and being better at those skills than the lot.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Set Timezone on Ubuntu? - Dracula Servers Tutorials","description":"To set the Time zone in Ubuntu, use the Date & Time section with in the settings applications or use the \"timedatectl\" command-line utility.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/draculaservers.com\/tutorials\/set-timezone-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"How to Set Timezone on Ubuntu? - Dracula Servers Tutorials","og_description":"To set the Time zone in Ubuntu, use the Date & Time section with in the settings applications or use the \"timedatectl\" command-line utility.","og_url":"https:\/\/draculaservers.com\/tutorials\/set-timezone-ubuntu\/","og_site_name":"Dracula Servers Tutorials","article_published_time":"2023-06-08T09:00:57+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/How-to-Set-Timezone-on-Ubuntu.png","type":"image\/png"}],"author":"Abdul Mannan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Abdul Mannan","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/draculaservers.com\/tutorials\/set-timezone-ubuntu\/#article","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/set-timezone-ubuntu\/"},"author":{"name":"Abdul Mannan","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/ac89d0281f4fb596bfaa0bc1e746c8a6"},"headline":"How to Set Timezone on Ubuntu?","datePublished":"2023-06-08T09:00:57+00:00","mainEntityOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/set-timezone-ubuntu\/"},"wordCount":1056,"commentCount":0,"publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/set-timezone-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/How-to-Set-Timezone-on-Ubuntu.png","keywords":["linux","timedatectl","Timezone","Ubuntu","VPS Hosting"],"articleSection":["Linux Basics","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/draculaservers.com\/tutorials\/set-timezone-ubuntu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/draculaservers.com\/tutorials\/set-timezone-ubuntu\/","url":"https:\/\/draculaservers.com\/tutorials\/set-timezone-ubuntu\/","name":"How to Set Timezone on Ubuntu? - Dracula Servers Tutorials","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/set-timezone-ubuntu\/#primaryimage"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/set-timezone-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/How-to-Set-Timezone-on-Ubuntu.png","datePublished":"2023-06-08T09:00:57+00:00","description":"To set the Time zone in Ubuntu, use the Date & Time section with in the settings applications or use the \"timedatectl\" command-line utility.","breadcrumb":{"@id":"https:\/\/draculaservers.com\/tutorials\/set-timezone-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/draculaservers.com\/tutorials\/set-timezone-ubuntu\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/set-timezone-ubuntu\/#primaryimage","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/How-to-Set-Timezone-on-Ubuntu.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/06\/How-to-Set-Timezone-on-Ubuntu.png","width":1280,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/draculaservers.com\/tutorials\/set-timezone-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/draculaservers.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"How to Set Timezone on Ubuntu?"}]},{"@type":"WebSite","@id":"https:\/\/draculaservers.com\/tutorials\/#website","url":"https:\/\/draculaservers.com\/tutorials\/","name":"Dracula Servers Tutorials","description":"Dedicated Servers","publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/draculaservers.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/draculaservers.com\/tutorials\/#organization","name":"Dracula Servers","url":"https:\/\/draculaservers.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","width":1625,"height":200,"caption":"Dracula Servers"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/ac89d0281f4fb596bfaa0bc1e746c8a6","name":"Abdul Mannan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","caption":"Abdul Mannan"},"description":"An individual trying to decipher the enigmas of technology by the sheer driving force of curiosity. Interested in learning new skills and being better at those skills than the lot."}]}},"_links":{"self":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/2509","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/comments?post=2509"}],"version-history":[{"count":3,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/2509\/revisions"}],"predecessor-version":[{"id":2552,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/2509\/revisions\/2552"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media\/2510"}],"wp:attachment":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media?parent=2509"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/categories?post=2509"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/tags?post=2509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}