
You need to substitute the lines in bold with your actual current timezone. # ln -s /usr/share/zoneinfo/ Europe/ Brussels /etc/localtime Change your timezone # mv /etc/localtime /etc/localtime.backup In case of any problem, you can share your problem via comments.Here’s what you need to know when you want to change the timezone on a CentOS or Red Hat Enterprise Linux server. Now, you are able to change the date and time of your Linux system. I hope this article would useful for you.
#Change timezone linux centos how to#
In this article, you have learned how to set time and date on CentOS 8. You can adjust the time and date as you want. The format is available in YY-MM-DD HH:MM: SS. For this purpose write the following command. You can adjust both date and time at once. Format to adjust required date is YY: MM: DD in which YY: Year MM: Month DD: Date. The ‘timedatectl set-time’ command is used to set the date. To adjust the date, write the following command on the terminal: $ timedatectl set-time Correct format is HH:MM:SS in which HH: Hours MM: Minutes SS: Seconds. The ‘timedatectl set-time’ command is used to adjust time. To change the time of your operating system type following command: $ timedatectl set-time 16:19:00 $ timedatectl To check all available time zone in your system, write the following command on the terminal: $ timedatectl list-timezones To check the current Time zone of your operating system write the following command: $ timedatectl To display already adjusted date and time on your system, type the following command: $ timedatectl status $ timedatectl Open the terminal window using shortcut keys ‘Ctrl + Alt + t’. The following steps are involved to set date and time by using the terminal: You can also use the ‘timedatectl’ command to change the date and time zone. The ‘timedatectl’ is the command which allows us to change and configure the settings of our system clock. You can also adjust the time format to which you want to adjust it as 24-hours or AM/PM format.

The time zone will be adjusted automatically after performing this action.

In the search bar write the name of the desired city of your region. You can adjust the time zone as well by clicking on “Time Zone” present on the current window. In the ‘month’ section, a drop-down menu is available from where you can select the desired month. Day and year can also be adjusted similarly by using ‘+’ and ‘-’ signs. You can adjust time according to your time zone. Now, an interface will appear on the system in which the “+” sign will increase the time and “-” will decrease it. Click on Date and time as highlighted in the below-mentioned image. Another screen will appear on the system. In response to your search action, relevant results will appear in the current window. In the search bar, write “Date and time”. Click on the search icon that will available on the left top corner of the display screen. Click on the “Settings” icon from this window. Login to your system and click on ’Activities’ that is present on its left top corner of the desktop on CentOS 8. Set date and Time By using Graphical User Interface In this tutorial, we will explore the two different ways to set the date and time in CentOS 8. cronjobs, depend on the correct date and time settings. Many processes on your CentOS system, e.g.

A lot of advantages while you properly maintain the time and date of your system. It is very important that your installed operating system has the correct date and time.
