Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of rafael (2125)

Tuesday April 01, 2003
05:00 AM

A note for date/time module implementors

[ #11365 ]
When dealing with some parts of the French administration, dates with months > 12 and/or days > 31 are actually allowed. They're conventional to indicate the birthdate of people whose actual birthdate is unknown. And they defeat most code that deals with dates. (I don't know if the same convention is actually used in other countries.)
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Dates and Times appear to be composed of 90% special cases. This is insane!

    I am actually convinced that ISO 8601 is the source of HP Lovecraft's necronomicon.


  • Are these out of bound numbers just random, or are they generally in some sort of range?
      ---ict / Spoon
    • Usually, we have month == 13. Note that this convention comes from the 100%-paper documents era, so we can't be sure. (and, for the unfaithful people : no, this ain't a bloody joke.)
  • I have a friend who ended up with a birth date a year and a half from his real date: he comes from Iran, and applied for political refugee status in France. The people who gave him his papers messed up the year conversion between the Muslim and the Georgian calendar (they used the difference for the wrong part of the year) so he first aged a whole year. Later they refused to accept his birth certificate as valid, so they moved his birth date to January 0th of that (wrong!) year...