Over at the Liberty BASIC Community Forum they're getting their knickers in a twist over converting 24 to 12 hour clock. It's actually straightforward:
Code: for h24 = 0 to 23
h12 = ((h24 + 11) mod 12) + 1
if h24 < 12 then ampm$ = "AM" else ampm$ = "PM"
print h24, h12, ampm$
next
Richard.