title: Convert string to timestamp Angular2
body: <p>There's an easy way to convert a string from an input to a timestamp?</p>
  
  <p>For example... I got this:</p>
  
  <pre><code>"5/4/2018 11:49:01"
  </code></pre>
  
  <p>how do I convert that to this format?</p>
  
  <pre><code>"1522928905"
  </code></pre>