This seems perfectly reasonable to me.<p><pre><code> 00-00-00 is a two digit year, hence 2000-00-00
2000-00 is the month before 2000-01, hence 1999-12
Then we have 1999-12-00
That's the day before 1999-12-01, hence 1999-11-30
</code></pre>
And that's what it gives.<p>If you're going to ask for month 0 and day 0, expect "interesting" results.