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