Changing multiple outputted calendar format
<p>I have some dates that are outputted by previous javascript and into a hidden text fields.</p>

<p>I need to convert it to another format ( dd/mm/yyyy ) and am not quite sure how to do it.</p>

<p>The values are dynamic so im not sure how many there will be so i guess it will need to run through a loop maybe?</p>

<p>I need to convert this</p>

<pre><code>Wed Jan 19 2011 00:00:00 GMT+1100 (EST),Thu Jan 20 2011 00:00:00 GMT+1100 (EST),Fri Jan 21 2011 00:00:00 GMT+1100 (EST),Sat Jan 22 2011 00:00:00 GMT+1100 (EST),Sun Jan 23 2011 00:00:00 GMT+1100 (EST)
</code></pre>

<p>to</p>

<pre><code>19/01/2011,20/01/2011,21/01/2011,22/01/2011,23/01/2011
</code></pre>

<p>Any help would be great.</p>

<p>Thanks,</p>
