time
Get or set the system time.
Syntax
execute time [<time_str>]
where
time_str has the form hh:mm:ss
-
hhis the hour and can be00to23 -
mmis the minutes and can be00to59 -
ssis the seconds and can be00to59
All parts of the time are required. Single digits are allowed for each of hh, mm, and ss. If you do not specify a time, the command returns the current system time.
execute time <enter>
current time is: 12:54:22
Example
This example sets the system time to 15:31:03:
execute time 15:31:03