Setting up the correct timezone in CentOS 7
To configure the correct time zone in CentOS 7, run the commands below as (root) user to first list all the available timezone for your system. The list is ordered alphabetically based on continent, country and city.
To list the available timezones, run the commands below.
This will list the timezones as followed;
Once you have gone through the list and identified the correct timezone for your server, perform the command below.
For example, if your server located in Sydney NSW, you’ll want to choose Australia/Sydney.
Replacing "Australia/Sydney" with the correct timezone:
timedatectl set-timezone Australia/Sydney