title: How to print audio time in format 00:00:00 using AVFundation
body: <p>In my app where I use <code>AVFoundation</code> I call function <code>showCurrentAudioProgress()</code> using <code>NSTimer.scheduledTimerWithTimeInterval(0.1, target: self, selector: "showCurrentAudioProgress", userInfo: nil, repeats: true)</code> in <code>viewDidLoad</code>. I would like to return this kind of time format 00:00:00 but I have a big problem with it. Whole function looks like this:</p>
  
  <pre><code>var musicPlayer = AVAudioPLayer()
  
  func showCurrentAudioProgress() {
      self.totalTimeOfAudio = self.musicPlayer.duration
      self.currentTimeOfAudio = self.musicPlayer.currentTime
  
      let progressToShow = Float(self.currentTimeOfAudio) / Float(self.totalTimeOfAudio)
      self.audioProgress.progress = progressToShow
  
      var totalTime = self.musicPlayer.duration
      totalTime -= self.currentTimeOfAudio
  
      self.currentTimeTimer.text = "\(currentTimeOfAudio)"
      self.AudioDurationTime.text = "\(totalTime)"  
  }
  </code></pre>
  
  <p>how can I convert time which I recive using <code>AVAudioPlayer</code> to 00:00:00?</p>