title: convert a string (HH:mm) into date and print custom formatting (arrives in x minutes)
body: <p>i have this javascript:</p>
  
  <pre><code>var data = '&lt;Message&gt;Fermata 1494 -  Linea R2 -&gt; 14:01  Linea 202 -&gt; 14:06   &lt;/Message&gt;';
  var arr = data.match(/[\w\d]+\s*-&gt;\s*[\d:]+/g);
  alert(arr);
  for(var i=0; i &lt; arr.length; i++) { 
  arr[i] = arr[i].replace('-&gt;', 'at');
  arr[i] = arr[i]+'\n';
  }
  arr = arr.join('');
  console.log(arr);
  </code></pre>
  
  <p>it fetches a formatted page and prints this information:</p>
  
  <p><code>R2 at 14:01
  202 at 14:06</code></p>
  
  <p>jsfiddle: <a href="http://jsfiddle.net/PgBc4/1/" rel="nofollow">JsFiddle</a></p>
  
  <p>i need to print in </p>
  
  <p><code>R2 at 14:01 - arrives in x minutes</code> format...</p>
  
  <p>so i need to convert "14:01" part of the string in current timestamp and then do a substraction but seems tha i cant do it, in pure javascript, no jquery.</p>