3 ms·
From the article: "Programmers wanting to avoid the Y2K bug had two broad options: entirely rewrite their code, or adopt a quick fix called “windowing”, which
by crmrc114 7y ago
From the article:
"Programmers wanting to avoid the Y2K bug had two broad options: entirely rewrite their code, or adopt a quick fix called “windowing”, which would treat all dates from 00 to 20, as from the 2000s, rather than the 1900s. An estimated 80 per cent of computers fixed in 1999 used the quicker, cheaper option."
So basically
if (date = 00-20) then year = 20XX
This is the most classic, lazy, contractor fix I have ever heard of- would love to hear some people who actually did support work for Y2k weigh in on this article.
- jdright 7y agoOn some systems I've worked (and saw), time and date components were simple bytes. Mostly for easy binary manipulation and also laziness, but mostly it was current practice (on msdos) for that period. Not really to save memory.
- cafard 7y agoOracle supports the date format string 'RR', but I have a hard time imagine anyone using it for string -> date conversion.