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&#x27;s the day before 1999-12-01, hence 1999-11-30
</code></pre>
And that&#x27;s what it gives.<p>If you&#x27;re going to ask for month 0 and day 0, expect &quot;interesting&quot; results.