Changing time in Linux

To change time of the system in Linux, you can use date command on the prompt.

date --set=HHMM

where HH is Hour and MM is minute

 

Example:

date --set=2359

 will set the time of the system to 23:59

 







You must be login first or sign-up for an account to post comments.