title: How to save and retain Date milliseconds (MySQL)
body: <p>I need to generate the current Date in vb.net that's have also the millisecond. Actually I use:</p>
  
  <pre><code>Date.Now
  </code></pre>
  
  <p>But this returns a simple date as 28/12/2015 16:53, I want also the millisecond something like: </p>
  
  <blockquote>
    <p>28/12/2015 16:53:48640864</p>
  </blockquote>
  
  <p>I tried with:</p>
  
  <pre><code>Public Shared Function MillisecondsDate()
  
      Return Date.Now.ToString("HH:mm:ss.fffffff")
  
  End Function
  </code></pre>
  
  <p>but this returns a bad result:</p>
  
  <blockquote>
    <p>16:53:56.9884043</p>
  </blockquote>
  
  <p>I need a format compatible with <code>MySql</code> for an accurate <code>lastUpdated</code> field. Any ideas?</p>