It is not work for me, i want to convert date format to datetime of mysql format using php.i have try to obtain through the below code.what is wrong with my code
$travelDatesconv=strtotime($travelDate); //15/03/2015
$travelDates=date('Y-m-d H:i:s',strtotime($travelDatesconv));
echo $travelDates."=>uu";
//i need 2015-03-15 00:00:00