Y2K Dates Out Of Control!
Wow check this out I was digging in a java code base and ran into this date conversion code (added the dateString initialization to illustrate): String dateString = “04/29/05” ; // two digit year String newDateString = dateString.substring(0, length – 2); if (Integer.parseInt(year.substring(2)) > 25) { newDateString += “19”; } else […]