hwclock

Read/set the hardware clock

high risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
What it does

Shows or sets the RTC. See the flags and examples below, and run `man hwclock` for the full reference.

Examples
hwclock --showShow RTC · explain & risk-check →
hwclock --systohcWrite system time to RTC · explain & risk-check →
Related
timedatectl chronyc
Open the full explainer →More in System & Processes

Reference text is hand-written and may be incomplete — check man hwclock for your version. Test destructive commands on a non-production system first.