Re:Ask HN: Was the Y2K crisis real?
by sharpy on Thursday March 12, 2020 @02:08PM
(#22559822)
One system I worked on showed the date as year 3900, because the function for getting current year would return 2 digit for year < 2000, and full 4 digit for >= 2000. So the code did 1900 + GetYear(). Replaced it with just calling GetFullYear() or something like that.
[ Parent
| on HN ]
There are no comments on this comment yet.