title: Get current time in milliseconds
body: <p>I am trying to do an API call which requires a time in milliseconds. I am pretty new in R and been Googling for hours to achieve something like what In Java would be:</p>
  
  <pre><code>System.currentTimeMillis();
  </code></pre>
  
  <p>Only thing i see is stuff like</p>
  
  <p><code>Sys.Date()</code> and <code>Sys.time</code></p>
  
  <p>which returns a formatted date instead of time in millis.</p>
  
  <p>I hope someone can give me a oneliner which solves my problem.</p>