title: How to convert yyyy-mm-dd hh:mm:ss to unix timestamp in angularjs or javascript
body: <p>I got a query how do I convert yyyy-mm-dd hh:mm:ss to <strong><em>UNIX time-stamp</em></strong> using <strong>angularjs or JavaScript</strong> for example:<code>2015-04-17 10:12:12</code>this is how my date value how do i convert ??</p>