Keep in mind that very many other software systems share this same "flaw". It's a similar issue to the infamous "Y2K" bug (see here
). Of course, this time we know about the issue decades in advance, and it's likely by the time 2037 rolls around we won't be using 32bit integers to represent time anymore anyway. I'm not sure there's a need for this just yet though-- if you really need to calculate dates between now and 2038 onwards, you might want to look at just doing simple math with years and months for an approximation, or write a dll to make use of the 64bit time functions mentioned above.