Hi this is my date format "Month/yyyy" please provide an example of date for this format i want to parse date to this format
Use the strtotime() and date() functions:
http://php.net/manual/en/function.date.php
http://php.net/manual/en/function.strtotime.php
$date = '2018-06-07';
echo date('m/Y', strtotime($date));