title: How to specify date format when using pandas.to_csv?
body: <p>The default output format of <code>to_csv()</code> is:</p>
  
  <pre><code>12/14/2012  12:00:00 AM
  </code></pre>
  
  <p>I cannot figure out how to output only the date part with specific format:</p>
  
  <pre><code>20121214
  </code></pre>
  
  <p>or date and time in two separate columns in the csv file:</p>
  
  <pre><code>20121214,  084530
  </code></pre>
  
  <p>The documentation is too brief to give me any clue as to how to do these. Can anyone help?</p>