Convert date format yyyy-mm-dd to dd-mm-yyyy

by Rekha 2010-11-09 12:44:41

Convert date format yyyy-mm-dd to dd-mm-yyyy

$date1="2010-11-09";
$newdate1 = date("d-m-Y", strtotime($date1));
echo $newdate1;

Tagged in:

1078
like
0
dislike
0
mail
flag

You must LOGIN to add comments