title: subtracting one time from another in vb.net
body: <p>i have a variable [ Dim mytime = "12:30:00 AM" ]</p>
  
  <p>i want to subtract mytime from TimeOfDay and i also want to get the difference as a integer value... how should i do that..</p>
  
  <p>i have added the following code</p>
  
  <pre><code>Dim mytime = DateTime.Parse("1:16:00 AM")
  Dim result = TimeOfDay - mytime
  
  dim finalresult = result.Seconds
  </code></pre>
  
  <p>but it is giving me negative values </p>