JSFiddle - React, Tailwind, and code Playground
by harianus
HTML
<script src="http://momentjs.com/downloads/moment.js"></script>
JavaScript
var string = 'Sat Apr 12 2014 12:30:08 GMT+0000 (UTC)';
var sec = moment(string).subtract('hours', 2);
console.log('sec: ' + sec);