PHP date function out format in Sunday, 15 of January
<p>Input Date Format <code>DD-MM-YYYY</code></p>

<pre><code>Example 15-01-2012
</code></pre>

<p>I have a booking date stored in Session variable <code>$_SESSION['Date']</code> and date is in format <code>"DD-MM-YYYY"</code> I want to pass this date <code>date('l jS \of F Y')</code> so that i can get the out put in following as Sunday, 15 of January </p>

<p>Can i do this with date or i have to use some other function. I did google it but could not find much &amp; confusing to me as i am new to php</p>

<p>Any reply of appreciated</p>
