Specifications
198 Version 2.0
Shell > time 00000017:000004:0000
Shell > time
17:04:00 (GMT+08:00)
Shell >
The seconds parameter is optional. If there is no seconds number, it will set to zero by
default.
Status Codes Returned
SHELL_SUCCESS The action was completed as requested.
SHELL_DEVICE_ERROR There was a hardware error preventing the completion of this
command
SHELL_SECURITY_VIOLATION This function was not performed due to a security violation
SHELL_INVALID_PARAMETER One of the passed in parameters was incorrectly formatted or
its value was out of bounds.
Examples
Shell > time 17:23
Shell > time
17:23:00 (GMT+08:00)
Shell > time 17:23:
Shell > time
17:23:00 (GMT+08:00)
To display current time:
fs0:\> time
16:51:03 (GMT+08:00)
To set the system time:
fs0:\> time 9:51:30
fs0:\> time
09:51:31 (GMT+08:00)
To get the time, including daylight savings time:
fs0:\> time 9:51:30
fs0:\> time –d
09:51:31 (GMT+08:00) DST: Not Affected










