get time in h:i format from javascript GMT date format
<p>I am working in JavaScript. I have date in below format:</p>

<pre><code>Tue Sep 18 2012 01:30:00 GMT+0530 (India Standard Time) 
</code></pre>

<p>I want to display it in below format</p>

<pre><code>'Y-m-d h:i:s'
</code></pre>

<p>OR</p>

<p>How to get time only from <code>(Tue Sep 18 2012 00:00:00 GMT+0530 (India Standard Time))</code> this format in JavaScript? </p>
