<?php
$back_date = $row_pack["order_date"];
//$newDateString =Date("F j, Y",$back_date);
echo date('F j, Y', strtotime(str_replace('','/', $back_date)));
#output: Saturday 24th March 2012
?>
$back_date = $row_pack["order_date"];
//$newDateString =Date("F j, Y",$back_date);
echo date('F j, Y', strtotime(str_replace('','/', $back_date)));
#output: Saturday 24th March 2012
?>
No comments:
Post a Comment