title: How do you get the current time in milliseconds (long), in VB.Net?
body: <p>I'm looking for the equivalent to a Java <code>System.currentTimeMilli()</code>, in VB.NET.</p>
  
  <p>What is the method to call? I know about Datetime.Now, but not about the actual conversion to long milliseconds.</p>
  
  <hr>
  
  <p>More details about my specific need: </p>
  
  <p>I need to manage a login expiration. So most likely when I log in, I will set a "expiration_time_milli", equal to the current time + the timeout value. Then later, if I want to check if my login is valid, I will check is "expiration_time_milli" is still superior to current time.</p>