title: create date in python without time
body: <p>I need to get the current date without time and then compare that date with other entered by user</p>
  
  <pre><code>import datetime
  now = datetime.datetime.now()
  </code></pre>
  
  <p>Example</p>
  
  <pre><code>currentDate="01/08/2015"
  userDate="01/07/2015"
  if currentData &gt; userDate:
   .........
  else:
    ...................
  </code></pre>