06-23-2002
670,
4
Join Date: Dec 2000
Last Activity: 9 July 2019, 2:02 AM EDT
Location: Phoenix, AZ
Posts: 670
Thanks Given: 0
Thanked 4 Times in 4 Posts
In Linux you can use dateconfig command. Note it vary with your Linux Kernel version, as i noticed they no longer using timetool (Old kernel supported ). Start the dateconfig on your shell and change the date & time.
Also take note:
Changing the date and time will change the system clock as well as the hardware clock. Clicking Apply is equivalent to executing the date and hwclock commands with the selected date and time.
The Network Time Protocol (NTP) daemon synchronizes the system clock with a remote time server or time source (such as a satellite). dateconfig allows you to configure a NTP daemon to synchronize your system clock with a remote server. To enable this feature, click the Enable Network Time Protocol button. This will enable the Server pulldown menu. You can choose one of the predefined servers or type a server name in the pulldown menu. Your system will not start synchronizing with the NTP server until you click Apply. After you click Apply, the configuration will be saved and the NTP daemon (ntpd) will be started (or restarted if it is already running). If you want this daemon to start automatically at boot time, you need to execute the command /sbin/chkconfig --level 345 ntpd on to enable ntpd for runlevels 3, 4, and 5.
For more information on NTP, read the NTP documentation available in the /usr/share/doc/ntp-version-number directory.