JavaScript date in dd/MMM/yyyy format
<p>How can show date in this format dd/MMM/yyyy using below code</p>

<pre><code>function ToJavaScriptDate(value) {
    debugger;
    var pattern = /Date\(([^)]+)\)/;
    var results = pattern.exec(value);
    var dt = new Date(parseFloat(results[1]));
    debugger;
    return (dt.getMonth() + 1) + "-" + dt.getDate() + "-" + dt.getFullYear();
}
</code></pre>