title: Python - how to convert and determine a type of a 5 digit date?
body: <p>I have some of the date fields represented as 5-digit numbers. And there is a mapping from the numbers to an actual date. However I can't figure out what logic should be applied to convert the numbers to dates in the <code>"%Y-%m-%d"</code> format?</p>
  
  <pre><code>13581 -&gt; 2007-03-09
  12784 -&gt; 2005-01-01
  </code></pre>