Date Conversion Date To Word

<?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' );
?>
Previous
Next Post »