mk90.commands
Command time
Read the RTC time as HH:MM:SS.
Synopsis
timeOrdinary invocation: foreground child, PID 3; the shell waits. Allowed as a pipe producer.
Parameters
This command has no documented parameters.
Description
Samples the clock around its update interval, retries an unstable read, and converts the configured binary/BCD and 12/24-hour representation to a 24-hour display.
The command reads the clock only. Set the clock through the original MK90 firmware.
Examples
time
time | catLimits and side effects
- No time-setting, timezone or synchronization argument. The RTC does not supply timezone information.
Status and diagnostics
Success is status 0. Relevant status codes: 1. See the diagnostic reference.
See also
date · sleep · Shell syntax