time
Get or set the system time.
Syntax
execute time [<time_str>]
Variable |
Description |
---|---|
[<time_str>] |
The time of day, in the form
All parts of the time are required. Single digits are allowed for each of |
If you do not specify a time, the command returns the current system time.
Example
This example sets the system time to 15:31:03:
execute time 15:31:03