Fedora/RedHat :sudo yum install ntpdate
sudo chkconfig ntpd on
Enter after the installation command, remember to replace the server link with the link to the website.ntpdate server link && hwclock –w
Open Terminal. Select Terminal from the list of programs on Linux or press the key combination Ctrl+ Alt+ T.
Enter the command to open the time zone menu. Depending on the Linux distribution, this command will be different:
Ubuntu and Mint - sudo dpkg-reconfigure tzdatafollowed by admin/user password.
Redhat -redhat-config-date
CentOS and Fedora -system-config-date
' FreeBSD and Slackware -tzselect
Select geographical region. Use the arrow keys to select the geographic region to which the country belongs, then press ↵ Enter.
Select city/region. Select the city or region that corresponds to your time zone then tap ↵ Enter. The time zone will be changed on the system.
Click the "system menu" icon. The option has a downward-facing triangle in the upper right corner of the screen. A drop-down menu will appear.
Click the wrench and screwdriver "settings" icon in the lower left corner of the drop-down menu. The Ubuntu Control Center will open.
Scroll down and click Details . Options are at the bottom of the bar on the left side of the window.
You need to make sure the mouse pointer is on the left bar when scrolling.
Click Date & Time . This tab is on the left side of the window.
Turn off Automatic Time Zone. Click the blue "Automatic Time Zone" switch in the middle of the page to turn it off.
If the "Automatic Time Zone" switch is gray, skip this step.
Click Time Zone near the bottom of the window. The Time Zone menu opens.
Select time zone. Click your approximate location on the world map to select it. The time will change to match the time zone of the region you select.
Close the window to save the settings. The appropriate time zone will be updated.
Open Menu. Click Menu in the lower left corner of the screen.
Click the two gray gear-shaped system settings icon. Options are on the left side of the Menu window.
Click Date & Time, which is in the "Preferences" group of options.
Click Unlock on the right side of the window.
Enter the user password when prompted. Enter the password you use to log into your computer.
Click Authenticate . It's at the bottom of the pop-up dialog box. The Date & Time menu will be unlocked.
Select time zone. Click the vertical bar on the map to select a time zone. The clock on the right side of the page will change immediately to reflect the time of the selected time zone.
Click Lock on the right side of the window to save your time zone settings. The Date & Time menu will be locked.