title: How to convert date string to Solr date format using Python?
body: <p>I am indexing my files using Solr and Python, and I am working on the dates. I have a string dates like <code>30/01/2013</code> (ddmmyyy) and <code>01/30/2013</code> (mmddyyy). How can I convert these type of dates to Solr date format?</p>
  
  <p>I've been using like this to convert</p>
  
  <pre><code>dt = datetime.combine(item[index_field], time())
  value_str = dt.isoformat() + 'Z'
  </code></pre>
  
  <p>but got error message <code>combine() argument 1 must be datetime.date, not str</code>.</p>