y2k

Preferred method for handling Y2K date conversions?

Is there a preferred algorithm for converting a 2-digit year into a 4-digit year? I have a 2-digit birth date (along with month and day) that I want to convert to a C# DateTime. Obiviously, birthdates cannot be in the future, but is there an existing facility in .NET to convert a 2-digit year into a four-digit year? ...

Handling Y2.036K & Y2.038K bugs.

Hi All, I am currently working on a project with a requirement that our software must operate until at least 2050. Recently we have run into problems dealing with the Y2.036K "bug" in the NTP protocol and also the Y2.038K bug. Basically, our software must continue to run past these dates with all data recorded using correct time stamps....

Was there something in Cobol intrinsically making it susceptible to Y2K issues?

I know that a lot of Y2K efforts/scare was somehow centered on COBOL, deservedly or not. (heck, I saw minor Y2K bug in a Perl scripts that broke 1/1/2000) What I'm interested in, was there something specific to COBOL as a language which made it susceptible to Y2K issues? That is, as opposed to merely the age of most programs written i...

Is there a y2k12 issue analogous to y2k?

This is a bit of a whimsical question inspired in part by the publicity for the movie 2012 but it is one that could have real implications for software systems. (If not in 2012, then definitely in 2038.) There are all sorts of doomsday predictions for the year 2012 and i was wondering if there's a date time/timestamp system out there th...

What is causing the 2010 bugs?

There are a lot of reports of systems failing to understand the year 2010 but I've no idea why. Current systems I look after are working fine as far as I could tell but I'd like to know what the actual problem is to search better. Could anyone shed some light on it please? Edit: http://www.rte.ie/business/2010/0105/bug.html - Informati...

Year dropdown range - when do we stop?

I attended a payroll software demo yesterday wherein the year dropdowns throughout the software ran from 2000 to 2200. Now, we've all been down this road before with 2 digit shortsight, but honestly - a 200 year service life for a Java & Oracle payroll system? Our Board of Directors would be thrilled if the company was even solvent for 1...

Win32: How to prevent DateTimePicker from accepting 2-digit years?

Microsoft's DateTimePicker common control shows ShortDate's according to the configured Locale settings. The customer's computer is configured with a 2-digit year ShortDateFormat (d/M/yy), so the DateTimePicker shows 2-digit years: When the user puts focus in the year block of the datetime picker, Microsoft points out the issue, and s...

Did Oracle face the Y2K problem?

My guess is that it shouln't have because they use centuries also in dates From here, The DATE datatype stores the year (including the century), the month, the day, the hours, the minutes, and the seconds (after midnight). Did it face the problem? ...