Change the format of a date
<p>I submit a date through a form such as below</p>

<pre><code>2012-07-24 17:50
</code></pre>

<p>but on the result page I want to change it's format and echo it to </p>

<pre><code>Tuesday, 24 of July
</code></pre>

<p>How do I do this? Should I use PHP or JavaScript?</p>
