title: One hour difference in Python
body: <p>I have a datetime.datetime property var.
  I would like to know if it is less than one hour of the current time.
  Something like</p>
  
  <pre><code>var.hour&lt;datetime.datetime.today().hour - 1
  </code></pre>
  
  <p>Problem with the above syntax is that </p>
  
  <pre><code>datetime.datetime.today().hour
  </code></pre>
  
  <p>returns a number such as "10" and it is not really a date comparation but more of a numbers comparation.</p>
  
  <p>What is the correct syntax?</p>
  
  <p>Thanks!</p>
  
  <p>Joel</p>