javascript split string to get Date and Hours only
<p>I have this date format ,</p>

<pre><code>var dateobj = 'Apr 28, 2011 6:01:23 AM';
</code></pre>

<p>I need Apr 28 6 (That is only date and  hours )</p>

<p>Please tell me </p>

<p>I tried this way </p>

<pre><code>var amorpm = dateobj.split(' ').slice(0, 3).join(' '); but i am getting only date 
</code></pre>
