How to convert javascript date to GMT milliseconds?
<p>I have the following date:</p>

<pre><code>var datestr = "11/11/2012 10:55"
</code></pre>

<p>When I do the following:</p>

<pre><code>var datems = new Date(datestr).getTime();
</code></pre>

<p>The milliseconds I get do not appear to be the correct milliseconds as it appears to be much farther ahead in time. How do i convert the "datestr" above to milliseconds (in respect to GMT)?</p>
