title: Python - Convert seconds from epoch time into human readable time
body: <p>Originally I made this code to convert date into human readable time:</p>
  
  <pre><code>    a = datetime.datetime.strptime(time, "%Y-%m-%d %H:%M:%S.%f")
      b = datetime.datetime.now()
      c = b - a
      days, hours, minutes, seconds = int(c.days), int(c.seconds // 3600), int(c.seconds % 3600 / 60.0), int(c.seconds % 60.0)
      return days, hours, minutes, seconds
      EXAMPLE OUTPUT: 1 days, 4 hours, 24 minutes, 37 seconds
  </code></pre>
  
  <p>and I'm trying to make it using epoch time, but I have no idea on to make it calculate days hours and etc. </p>
  
  <pre><code>    a = last_epoch #last epoch recorded
      b = time.time() #current epoch time
      c = b - a #returns seconds
      hours = c // 3600 / 24 #the only thing I managed to figure out
  </code></pre>