title: VB.net real time synchronizing clock
body: <p>I have here a working code but the output is in 24hour format:</p>
  
  <pre><code>Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 
  Timer1.Enabled = True 
  End Sub 
  
  Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick 
  Label1.Text = Now.TimeOfDay.ToString() 
  End Sub 
  </code></pre>
  
  <p>I used a timer but my output looks like this:</p>
  
  <p>17:00:30.123456</p>
  
  <p>I want my output to be like this in 12hour format:</p>
  
  <p>5:00 PM</p>