title: Converting date formats python - Unusual date formats - Extract %Y%M%D
body: <p>I have a large data set with a variety of Date information in the following formats:</p>
  
  <ul>
  <li>DAYS since Jan 1, 1900 - ex: 41213 -  I believe these are from Excel  <a href="http://www.kirix.com/stratablog/jd-edwards-date-conversions-cyyddd" rel="nofollow">http://www.kirix.com/stratablog/jd-edwards-date-conversions-cyyddd</a></li>
  <li>YYDayofyear - ex 2012265</li>
  </ul>
  
  <p>I am familiar with python's time module, strptime() method, and strftime () method.  However, I am not sure what these date formats above are called on if there is a python module I can use to convert these unusual date formats.</p>
  
  <p>Any idea how to get the %Y%M%D format from these unusual date formats without writing my own calculator?</p>
  
  <p>Thanks.</p>