root
:
date +%T -s HH:MM:SS
HH
stands for an hour, MM
is a minute, and SS
is a second, all typed in a two-digit form. If your system clock is set to use UTC (Coordinated Universal Time), also add the following option:
date +%T -s HH:MM:SS
-u
~]# date +%T -s 23:26:00 -u
date
without any additional argument.