To compare the dates, they had to be set up as YYMMDD
, since the hardware does a bit by bit comparison, and as soon as one date goes high, the condition code is set.
The Federal Information Processing Standard of the National Institute of Standards and Technology (NIST) for interchange of information among units of the federal government specified a six-digit (YYMMDD
) format in 1968 and did not fully change to an eight-digit (YYYYMMDD) format until 1996.
Proponents of this approach point out that the Year 2000 problem is essentially the result of the discontinuity of six-digit dates (i.e., those in "yymmdd
" format, using a two-digit year) at the turn of the century.
It doesn't really matter if you input the date as 4-11-91 because internally, it's still stored YYMMDD
. The option you set reads this number and converts it before displaying on the screen.
HHMMSS <command> ;<comment>' where, <comment> is a string of characters not exceeding the current line length, YYMMDD
is a valid future date, HH ranges from 00 to 23, MM ranges from 00 to 59, and SS ranges from 00 to 59.
Let's face it: Changing YYMMDD
into YYYYMMDD is not Nobel Prize stuff, it's intellectually trivial.