How do I change the timezone in Debian? How to set Time Zone by configuring /etc/localtime File. The /etc/localtime file contains the link to the current Time Zone file. It can be used to change the Time Zone in every version of Debian.
How do I change the time on Debian 10? To change your Debian system’s timezone, run the sudo timedatectl set-timezone command followed by the long name of the time zone you want to set.
How do I change timezone in Debian 9? If you are running an older version of Debian and the timedatectl command is not present on your system you can change the timezone by symlinking /etc/localtime to the timezone in the /usr/share/zoneinfo directory.
How do I set timezone in Linux 6? To set correct timezone on a RHEL 6 / CentOS 6 system, edit /etc/sysconfig/clock and change the ZONE= declaration in to ensure the time zone is read properly. This will update file /etc/localtime and notify the operating system that there was a time zone change. No reboot is required when setting timezone.