title: How to use time values in select case statement in vb.net
body: <p>I want to check the current time with the half an hour time slots (total of 48 starts from 00:00,00:30,01:00,....23:30). Is it possible using select case statement. If not any other suggestions please?</p>
  
  <p>I am storing the current time in an object. </p>
  
  <pre><code>    Dim datime As DateTime = DateTime.Now.ToString("t") 
  </code></pre>
  
  <p>now i need to do conditional check on this variable. under whichever the time slot the variable belongs, i need to write a value under corresponding timeslot.</p>