title: Calculating time difference in seconds
body: <p>I am using following code to calculate time difference.  I want to display it in seconds, not in HH:MM:SS 
  Please advise.</p>
  
  <pre><code>Dim myTime = DateTime.Parse("15:40:00 PM")
      Dim vrNowTime = DateTime.Parse(TimeOfDay)
      Dim result = vrNowTime - myTime
      Label1.Text = vrNowTime &amp; "   " &amp; myTime
      MsgBox(result.ToString)
  </code></pre>
  
  <p>Thanks</p>