

In CentOS and other modern Linux distros, you can use the timedatectl command to display and set the current system’s time and timezone.

To be able change the system’s timezone you’ll need to be logged in as root or user with sudo privileges This tutorial explains how to set or change the timezone on CentOS 7. 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.

Using the correct timezone is important for many systems related tasks and processes. On CentOS, the system’s timezone is set during the install, but it can be easily changed at a later time.
