title: How can I produce a human readable difference when subtracting two UNIX timestamps using Python?
body: <p>This question is similar <a href="https://stackoverflow.com/questions/3132468/python-human-readable-date-difference">to this question about subtracting dates with Python</a>, but not identical. I'm not dealing with strings, I have to figure out the difference between two epoch time stamps and produce the difference in a human readable format.</p>
  
  <p>For instance:</p>
  
  <pre><code>32 Seconds
  17 Minutes
  22.3 Hours
  1.25 Days
  3.5 Weeks
  2 Months
  4.25 Years
  </code></pre>
  
  <p>Alternately, I'd like to express the difference like this:</p>
  
  <pre><code>4 years, 6 months, 3 weeks, 4 days, 6 hours 21 minutes and 15 seconds
  </code></pre>
  
  <p>I don't think I can use <code>strptime</code>, since I'm working with the difference of two epoch dates. I could write something to do this, but I'm quite sure that there's something already written that I could use.</p>
  
  <p>What module would be appropriate? Am I just missing something in <code>time</code>? My journey into Python is just really beginning, if this is indeed a duplicate it's because I failed to figure out what to search for.</p>
  
  <h3>Addendum</h3>
  
  <p>For accuracy, I really care most about the current year's calendar.</p>