mk90.basic.functions
Function HOUR
Read the RTC hour component.
Syntax
HOURReturns
0–23 on a correctly configured RTC.
Behavior
Reads the selected RTC component with bounded update checks and converts its configured BCD/binary representation. HOUR also converts 12-hour mode to 24-hour form.
Separate expressions are separate samples: HOUR, MINUTE and SECOND in one PRINT are not a guaranteed atomic timestamp across a rollover.
Example
10 PRINT HOUR
20 ENDLimits and diagnostics
No parentheses or write form. RTC failure returns an OS I/O error.