title: get each value from timspan variable to integer variable in vb.net
body: <p>i have one timespan varaible like this:   </p>
  
  <pre><code>dim startime as timespan 
  </code></pre>
  
  <p>my starttime value is :11:30:15 (i mean 11Hr.30mnt,15 second).<br>
  how i can fetch each value to different variable..i mean  </p>
  
  <pre><code>dim hr as integer  
  dim mnt as integer 
  dim sec as integer 
  </code></pre>
  
  <p>i want to get hr=11 ,mnt=30,sec=15<br>
  i tryed somthing like this: </p>
  
  <pre><code>Dim hour As integer = TimeSpan.FromHours(starttime) 
  </code></pre>
  
  <p>but this time showing error:    </p>
  
  <blockquote>
    <p>value type'System.timespan'cannot be converted to 'Double'</p>
  </blockquote>