title: Convert seconds into years, months, weeks, hours, minutes and seconds
body: <p>I'm struggling to find a solution as to converting seconds into years, months, weeks, hours, minutes, seconds.</p>
  
  <p>Example:</p>
  
  <pre><code>public Time(int inputSeconds) {
      int years = 0;
      int months = 0;
      int weeks = 0;
      int days = 0;
      int hours = 0;
      int seconds = 0;
  }
  </code></pre>