For example, you might see something like Wed Mar 7 07:38:23 EDT 2017 wherein “EDT” refers to the current time zone (Eastern Daylight Time).

The /usr/share/zoneinfo directory may vary depending on your Linux distribution.

If your city is not listed in the time zone list, pick a different city from your same time zone.

If the time isn’t correct, type in 2 and press ↵ Enter, then select a new continent and repeat the process.

Ubuntu/Mint/Debian: sudo apt install ntpdate CentOS: sudo yum install ntpdatesudo /sbin/chkconfig ntpd on Fedora/RedHat: sudo yum install ntpdatesudo chkconfig ntpd on Enter ntpdate server link && hwclock –w after the installation command, making sure to enter the link to the website in place of server link.

Ubuntu and Mint - sudo dpkg-reconfigure tzdata followed by the admin/user password. Redhat - redhat-config-date CentOS and Fedora - system-config-date ‘FreeBSD and Slackware - tzselect

If the “Automatic Time Zone” switch is grey, skip this step.