title: Formatting Time (HH:MM:SS)
body: <p>I'm taking values from Numeric Ups and Downs for Hours, Minutes and Seconds.</p>
  
  <p>The problem is that, for example, if the time for example is 9.15 am it will show as 9:15:0</p>
  
  <p>What I want to do is format them so if any of the values(Hours, Minutes or seconds) is less than 10, it will add a 0 before the number so as the number shows as 09:15:00.</p>
  
  <p>What I tried is this but it does not work:</p>
  
  <pre><code>Sub BtnSetClick(sender As Object, e As EventArgs)
  
          lbl8.Visible = True
  
          Dim nmTime As String = nmHour.Value.ToString + nmMin.Value.ToString + nmSec.Value.ToString
  
  
  
          lblST.Text.Format(nmTime.ToString, "HH:MM:SS")
  
  
          lblST.Text = (nmTime)
  
          lblST.Visible = True
  
      End Sub
  </code></pre>