title: How to get date format from a date string?
body: <p>I use <code>dateparser.parse</code> to turn a string date into a <code>datetime</code> object:</p>
  
  <pre><code>&gt;&gt;&gt; dateparser.parse(u'22 Décembre 2010')
  datetime.datetime(2010, 12, 22, 0, 0)
  </code></pre>
  
  <p>But now I want to create new dates with the same string format.  How can I get this?</p>
  
  <pre><code>&gt;&gt;&gt; get_date_pattern(u'22 Décembre 2010')
  '%d %B %Y'
  </code></pre>
  
  <p>Edit: I'll clarify that I don't know what the string format is (I'm iterating through a list of many date strings, and for each one I want to create a new date in the same format).  I'm not looking to convert a datetime object to string, I'm looking to take a formatted string and determine what that format is.</p>