title: Creating a Count down timer
body: <p>I'm creating a countdown timer in Xcodes with Obc C. I'm a newbie on this and need some assistance with my timer, it is going to count down from what ever time you enter.</p>
  
  <p>Right now my code looks like this:</p>
  
  <pre><code>-(void) timerRun {
      secoundCount = secoundCount - 1;
      int minuts = secoundCount / 60;
      int seconds = secoundCount - (minuts * 60);
  
  
      NSString *timerOutput = [NSString stringWithFormat:@"%2d:%.2d", minuts, seconds];
      countdownlable.text = timerOutput;
  </code></pre>
  
  <p>This countdown works perfectly find as long as it's counting down from 99 minutes or less. 
  I would like to had one more int for hours but when I do that something goes wrong and I get an error. </p>
  
  <p>Could you please explain how I would add one more integer for "hours" to this counter</p>
  
  <p>I've tried the following but it's not working:</p>
  
  <pre><code>-(void) timerRun {
      secoundCount = secondCount - 1;
      int hours = secondCount / 60;
      int minuts = secondCount / 60;
      int seconds = secondCount - (minuts * 60);
  
  
      NSString *timerOutput = [NSString stringWithFormat:@"%1d:%2d:%.2d", hours, minuts, seconds];
      countdownlable.text = timerOutput;
  </code></pre>
  
  <p>Thanks in advance</p>