mk90.commands

Command date

Read the RTC date as YY-MM-DD.

Synopsis

date

Ordinary invocation: foreground child, PID 3; the shell waits. Allowed as a pipe producer.

Parameters

This command has no documented parameters.

Description

Reads the year, month and day coherently and converts BCD/binary values for display. The two-digit year is the stored RTC value; no century interpretation is added.

Examples

date

Limits and side effects

  • Read-only; no calendar editing or date arithmetic.

Status and diagnostics

Success is status 0. Relevant status codes: 1. See the diagnostic reference.

See also

time · Shell syntax