title: Split down a number in seconds to days, hours, minutes, and seconds?
body: <p>I've heard that it's possible to accomplish this using the modulus <code>%</code> operator present in most programming languages. The real question is, how? I'm unfamiliar with how modulus works, so I've had difficulties using it in the past. Given the present time here in seconds since 1970, <code>1307758473.484</code>, how can I calculate how many years that is, days that is, hours that is, and minutes that is using modulus? </p>
  
  <p>I'm essentially looking to format it like this: "5 years, 10 days, 12 hours, 7 minutes, and 18.56 seconds". How would I do this? I'm really interested in learning the logic behind this and <em>not</em> interested in a simple drop-in solution. </p>