title: How to get current date upto milliseconds using JavaScript?
body: <p>Is there any method provided by JavaScript to get the current date down to milliseconds? I am using <code>new Date()</code> method but this returns the time till seconds as follows:</p>
  
  <pre><code>console.log(new Date())
  LOGS - Thu Sep 07 2017 14:47:37 GMT+0530 (India Standard Time)
  </code></pre>
  
  <p>What I need is like: <code>Thu Sep 07 2017 15:10:46:900100 GMT+0530 (India Standard Time)</code></p>
  
  <p>However I need time up to milliseconds, that too upto 6 digits. Does JavaScript provide us any method to extract milliseconds? I know we can extract individual values like hours, minutes and milliseconds etc and append them again but that is not my requirement as <strong>I need the date in default JavaScript DATE format</strong> like mentioned above. So looking for any solutions related to that.</p>