This article covers how you can easily change the date, time, and timezone in your Debian system. 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
Based on your convenience, you can either choose the command line or the GUI method. If you are using Ubuntu OS, you can visit our post on How to Change the Date, Time, and Timezone in Ubuntu 20.04 LTS .
Using the correct timezone is essential for many systems related tasks and processes.
For example, the cron daemon uses the system's timezone for executing cron jobs, and the timestamps in the log files are based on the same system's timezone.
On Debian, the system's timezone is set during the install, but it can be easily changed at a later time.
To check the Current Timezone:
timedatectl is a command-line utility that allows you to view and change the system's time and date. It is available on all modern systemd-based Linux systems:
$ timedatectl
To modify Change Time Zone in Debian 10 / Debian 9:
Using /etc/localtime File. In this method, we will use /etc/localtime (link to the original time zone file) file to set the timezone for your system.
Using timedatectl command. In this method, we will use the timedatectl command to change the time zone in Debian.
https://linuxapt.com/blog/120-modify-date-time-and-timezone-in-debian-10