In article Jerome H. Fine writes:
For RT-11, after 2003, those 5 year bits are
reused, so the RT-11
development
team finally published (around 1989) how the dates after 2003 would be
kept - at least until 2099. If you understand the RT-11 value, then there
are still 2 bits left in the 16 bit word for the date at the high end.
Starting
on January 1st, 2004, bit 14 is set and added to the 5 low order bits for
the year - in bit position 5 of course - so that if bit 14 is set, 32
years are
added to the low order 5 bits for the year. Starting on January 1st, 2036,
bit 15 is set (bit 14 is unset) and 64 years are added to the low order
5 bits
for the year. Starting on January 1st, 2068, both bits 14 and 15 will
be set
and 96 years are added to the low order 5 bits for the year.
This is great info, thanks. I will use this in my TECO HTTP server
date decoding for RT-11.
I am curious. What is the connection between your TECO HTTP server
and date decoding for RT-11?
I thought that only RT-11 uses the date in the RT-11 format. How does
a TECO variant which uses the RT-11 date format end up running on
an HTTP server? I am probably asking the wrong question since I
assume that the only TECO variant that uses the RT-11 date format
is a variant of TECO which runs under RT-11.
I still use TECO, in this case V36 which was distributed with V05.00 of
RT-11 in March 1983. DEC stopped distributing TECO after V05.00
of RT-11, but still supports using TECO. Does V40 of TECO have
many additional features over V36? Is there a V40 of TECO available
which will run under RT-11?
Jerome Fine