Date format conversion javascript
<p>Consider if we have a date in the format <code>Sat Jul 28 2012</code> , is there a general a function to convert it in to any wanted format?? </p>

<p>say for example <code>28-07-2012</code>,</p>

<p>deciding the separators like - or /</p>
