Click on OK in the Time Zone Settings tab after choosing the time zone from a dropdown list that included it. The Date and Time tab allows you to change your time zone. The Date and Time component can be found under Clock, Language, and Region in the Control Panel tab. Using dpkg-reconfigure (Debian/Ubuntu) Systems that are running Debian, Ubuntu, or similar, can use the dpkg. Go to the Control Panel by clicking on the Start button. This way all systems use the same information. If you have multiple systems in different time zones, then UTC would be the best zone to use. $ sudo ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtimeĤ.Reboot the system to pick up the new time zone information in all services and applications. timedatectl set-timezone Europe/Amsterdam. ZONE="America/Los_Angeles"Ĭ.Save the file and exit the text editor.ģ.Create a symbolic link between /etc/localtime and your time zone file so that the instance finds the time zone file when it references local time information. For example, to change to the Los Angeles time zone, change the ZONE entry to the following. You need to use sudo with your editor command because /etc/sysconfig/clock is owned by root.ī.Locate the ZONE entry, and change it to the time zone file (omitting the /usr/share/zoneinfo section of the path). In this example, you can use the time zone file for Los Angeles, /usr/share/zoneinfo/America/Los_Angeles.Ģ.Update the /etc/sysconfig/clock file with the new time zone.Ī.Open the /etc/sysconfig/clock file with your favorite text editor (such as vim or nano). Find your city (or a city in your time zone) to use for the instance. Some of the entries at this location are directories (such as America), and these directories contain time zone files for specific cities. Have a server running Red Hat® Enterprise Linux® 7 or 8, or Ubuntu® 16 or 18. Once you find the timezone you want to use, press q to go back to the command line. $ ls /usr/share/zoneinfoĪfrica Chile GB Indian Mideast posixrules USĪntarctica Cuba GMT iso3166.tab MST7MDT PST8PDT WETĪrctic EET GMT0 Israel Navajo right W- SU timedatectl list-timezones Press Space to scroll to the next page, b to scroll back a page. Browse the directory structure at that location to find a file for your time zone. The /usr/share/zoneinfo directory contains a hierarchy of time zone data files. Please find below the details :Īmazon Linux instances are set to the UTC (Coordinated Universal Time) time zone by default, but you may wish to change the time on an instance to the local time or to another time zone in your network.ġ.Identify the time zone to use on the instance. Information is available in aws documentation for changing the time zone in ec2 machine.