I assume you're aware that the leap year calc in RTC.bas undoes Pope Gregory
XIII's calendar reform.

Properly it should read:
if ((RTC_YEAR and 0x3) = 0) and (RTC_MONTH > 2) then
if ((RTC_YEAR MOD 100) = 0) then
if ((RTC_YEAR MOD 400) = 0) then days = days + 1
else
days = days + 1
end if
end if
Of course this is highly unlikely to be an issue for about another 89.75 years,
by which time we'll almost certainly be dead and gone... But I'll bet that was
exactly the rationale they used when implementing date types based on a 2-digit
year -- let us not forget the turmoil at the turn of the millenium: Stock
market indecision and unrest, people crying doomsday stashing money and food in
their basements, COBOL programmers making $250/hr -- utter chaos!

I for one don't want anyone cursing this oversight with my name on their lips,
come 2100-03-01! (Unless of course correct calcs degrade performance enough to
make them curse me today, but that would make it a trade-off rather than an
omission.)

-MM