title: How to convert integer into date object python?
body: <p>I am creating a module in python, in which I am receiving the date in integer format like <code>20120213</code>, which signifies the 13th of Feb, 2012. Now, I want to convert this integer formatted date into a python date object.</p>
  
  <p>Also, if there is any means by which I can subtract/add the number of days in such integer formatted date to receive the date value in same format? like subtracting 30 days from <code>20120213</code> and receive answer as <code>20120114</code>?</p>