title: Datetime strptime in python
body: <p>I've tried the following code :</p>
  
  <pre><code>import datetime
  d = datetime.datetime.strptime("01/27/2012", "%m/%d/%Y")
  print(d)
  </code></pre>
  
  <p>and the output is : </p>
  
  <pre><code>2012-01-27 00:00:00
  </code></pre>
  
  <p>I'am using Linux Mint :</p>
  
  <pre><code>test@testsrv ~/pythonvault $ date
  Fri Jun 16 21:40:57 EEST 2017
  </code></pre>
  
  <p>So,the question is why the output of python code returns a date in <code>"%Y/%m/%d" ( 2012-01-27 )</code> instead of <code>"%m/%d/%Y"</code> format ?</p>
  
  <p>Please note that I'am using python 2.7</p>
  
  <p>Any help would be appreciated.</p>