Friday, February 8, 2013

Convert Date into Textual Date format in PHP


Date into Textual Date Format:


$today = '2013-02-08';
echo date("jS F Y", strtotime($today));

Output:

8th February, 2013

No comments: