title: python time offset
body: <p>How can I apply an offset on the current time in python?</p>
  
  <p>In other terms, be able to get the current time minus x hours and/or minus  m minutes and/or minus  s secondes and/or minus  ms milliseconds</p>
  
  <p>for instance</p>
  
  <pre><code>curent time = 18:26:00.000
  
  offset = 01:10:00.000
  
  =&gt;resulting time = 17:16:00.000
  </code></pre>