<?php
$var =$row['stu_dob'];
$date = str_replace('/', '-', $var);
$d_date = date('d-m-Y', strtotime($date));
$dateTime = new DateTime($d_date);
$formatted_date=date_format ( $dateTime, 'd F Y' );
?>
$var =$row['stu_dob'];
$date = str_replace('/', '-', $var);
$d_date = date('d-m-Y', strtotime($date));
$dateTime = new DateTime($d_date);
$formatted_date=date_format ( $dateTime, 'd F Y' );
?>
ConversionConversion EmoticonEmoticon