title: How to calculate the current month from python time.time()
body: <p>I'm trying to get the current number of month which is 3(Today is 04.03.2016). So I'm running:</p>
  
  <pre><code>from time import time
  Ys=12*30*24*3600
  Ms=Ys/12
  m=(trunc(time())%Ys)/Ms
  print m
  </code></pre>
  
  <p>and the result is 10. </p>
  
  <p>Interestingly when I run:</p>
  
  <pre><code>Ds=Ms/30
  d=(trunc(time())%Ms)/Ds
  </code></pre>
  
  <p>then the result is correct : 4.</p>
  
  <p>Why m is not 3 but 10?</p>