I am trying to convert a date to month name and year.
$date = \'2017-07-00\'; $date = date(\'m/y\', strtotime($date)); echo DATE_FORMAT($date, \'%M %Y\'); >
You can use this
echo date('F,Y',strtotime($date));