How do I convert local time to UTC?
<p>I want to convert my local time (shown below) to UTC. Local time can belong to any timezone which a user belongs to. I just want to convert it to UTC format.</p>

<blockquote>
  <p>Local Time : '2015-12-04 19:05:48'</p>
</blockquote>

<p>How do I achieve this requirement in JavaScript or AngularJS?</p>

<hr>

<h2>Update</h2>

<p>My Original date/time string as like this <em>"Mon March 28 2016 23:59:59 GMT -0600 (CENTRAL DAYLIGHT TIME)"</em>  and I have converted them to <em>"2016-03-28 23:59:59 CDT"</em> as requested date format. But again, I need to convert this interim output in to UTC in the same interim output format <em>"YYYY-MM-DD HH:MM:SS"</em>. How do I achieve this</p>